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.

account for api change (#1399)

Akshay Agrawal31075df176ee
diff --git a/marimo/_tutorials/ui.py b/marimo/_tutorials/ui.py
index aa433b0d31..bf3448c5fd 100644
--- a/marimo/_tutorials/ui.py
+++ b/marimo/_tutorials/ui.py
@@ -663,7 +663,7 @@ def __(mo):
def __(mo):
def show_element(element):
if element is not None:
- return mo.hstack([element], "center")
+ return mo.hstack([element], justify="center")
return show_element,