Stat¶
marimo.stat
¶
stat(
value: Union[str, int, float],
label: Optional[str] = None,
caption: Optional[str] = None,
direction: Optional[
Literal["increase", "decrease"]
] = None,
bordered: bool = False,
) -> Html
Display a statistic.
Optionally include a label, caption, and direction.
PARAMETER | DESCRIPTION |
---|---|
value
|
the value to display |
label
|
the label to display |
caption
|
the caption to display |
direction
|
the direction of the statistic,
either
TYPE:
|
bordered
|
whether to display a border around the statistic
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
Html
|
An |