Stat#
- marimo.stat(value: str | int | float, label: str | None = None, caption: str | None = None, direction: Literal['increase', 'decrease'] | None = None, bordered: bool = False) Html#
Display a statistic.
Optionally include a label, caption, and direction.
Args.
value: the value to displaylabel: the label to displaycaption: the caption to displaydirection: the direction of the statistic, eitherincreaseordecreasebordered: whether to display a border around the statistic
Returns.
An
Htmlobject representing the statistic.