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 tabs docstring

Akshay Agrawald0443e595d19
diff --git a/examples/tabs.py b/examples/tabs.py
index 6f0fbfb376..20cb5efdb3 100644
--- a/examples/tabs.py
+++ b/examples/tabs.py
@@ -12,7 +12,7 @@ def __(mo):
@app.cell
def __(mo):
- mo.md("Use `mo.ui.tabs` to organize outputs.")
+ mo.md("Use `mo.tabs` to organize outputs.")
return
diff --git a/marimo/_plugins/stateless/tabs.py b/marimo/_plugins/stateless/tabs.py
index 0d2f5519e5..15a81a4677 100644
--- a/marimo/_plugins/stateless/tabs.py
+++ b/marimo/_plugins/stateless/tabs.py
@@ -26,7 +26,7 @@ def tabs(tabs: dict[str, object]) -> Html:
"text": mo.ui.text(),
"date": mo.ui.date()
]);
- tabs = mo.ui.tabs({
+ tabs = mo.tabs({
"Tab 1": tab1,
"Tab 2": tab2
})