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.

Fix new stat docs (#7503)

vincent d warmerdame0e69768e507
diff --git a/docs/api/layouts/stat.md b/docs/api/layouts/stat.md
index b292d980bc..4344bf5aea 100644
--- a/docs/api/layouts/stat.md
+++ b/docs/api/layouts/stat.md
@@ -28,9 +28,8 @@ def _():
mo.hstack([active_users, revenue, conversion], justify="center", gap="2rem")
return
-```
-```python
def _():
import altair as alt
import polars as pl