Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

docs: fix example for stat (#4274)

Shahmir Varqha276f8d881a59
diff --git a/docs/api/layouts/stat.md b/docs/api/layouts/stat.md
index dd6fb04d1e..1d2ba34c3a 100644
--- a/docs/api/layouts/stat.md
+++ b/docs/api/layouts/stat.md
@@ -8,22 +8,22 @@ def __():
active_users = mo.stat(
value="1.2M",
label="Active Users",
- caption="12% from last month",
+ caption="12k from last month",
direction="increase"
)
revenue = mo.stat(
value="$4.5M",
label="Revenue",
- caption="8% from last quarter",
+ caption="8k from last quarter",
direction="increase"
)
conversion = mo.stat(
- value="3.8%",
+ value="3.8",
label="Conversion Rate",
- caption="0.5% from last week",
- direction="decrease"
+ caption="0.5 from last week",
+ direction="decrease",
)
mo.hstack([active_users, revenue, conversion], justify="center", gap="2rem")