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: read layout in Pyodide session (#1769)

Myles Scolnick07a196fd8c0d
diff --git a/marimo/_pyodide/bootstrap.py b/marimo/_pyodide/bootstrap.py
index 3e6859105b..7e356752f8 100644
--- a/marimo/_pyodide/bootstrap.py
+++ b/marimo/_pyodide/bootstrap.py
@@ -73,7 +73,7 @@ def create_session(
names=tuple(app.cell_manager.names()),
configs=tuple(app.cell_manager.configs()),
cell_ids=tuple(app.cell_manager.cell_ids()),
- layout=None,
+ layout=app_file_manager.read_layout_config(),
resumed=False,
ui_values={},
last_executed_code={},