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: refresh docs (#835)

Myles Scolnick525e4fc5b82e
diff --git a/marimo/_plugins/ui/_impl/refresh.py b/marimo/_plugins/ui/_impl/refresh.py
index bf0d07e724..45a5939daa 100644
--- a/marimo/_plugins/ui/_impl/refresh.py
+++ b/marimo/_plugins/ui/_impl/refresh.py
@@ -21,7 +21,7 @@ class refresh(UIElement[int, int]):
**Example.**
```python
- refresh_button = mo.ui.refresh_button(
+ refresh_button = mo.ui.refresh(
options=["1m", "5m 30s", "10m"],
default_interval="10m",
)