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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Correct mo.tabs example (#5404)
Will Deanf9de70682ace
diff --git a/marimo/_plugins/stateless/tabs.py b/marimo/_plugins/stateless/tabs.pyindex 301e4ed4f0..c60a859b3e 100644--- a/marimo/_plugins/stateless/tabs.py+++ b/marimo/_plugins/stateless/tabs.py@@ -23,20 +23,17 @@ def tabs(tabs: dict[str, object]) -> Html:Example:```python- tab1 = mo.vstack([- mo.ui.slider(1, 10),- mo.ui.text(),- mo.ui.date()- ]);- tab2 = mo.vstack([{- "slider": mo.ui.slider(1, 10),- "text": mo.ui.text(),- "date": mo.ui.date()- ]);- tabs = mo.tabs({- "Tab 1": tab1,- "Tab 2": tab2- })+ tab1 = mo.vstack([mo.ui.slider(1, 10), mo.ui.text(), mo.ui.date()])+ tab2 = mo.vstack(+ [+ {+ "slider": mo.ui.slider(1, 10),+ "text": mo.ui.text(),+ "date": mo.ui.date(),+ }+ ]+ )+ tabs = mo.tabs({"Tab 1": tab1, "Tab 2": tab2})```"""return tabs_impl(tabs)