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
enable column explorer for run mode (#6626)
Shahmir Varqhacf07633a02fb
diff --git a/marimo/_plugins/ui/_impl/table.py b/marimo/_plugins/ui/_impl/table.pyindex 89fac1360e..8d00c85110 100644--- a/marimo/_plugins/ui/_impl/table.py+++ b/marimo/_plugins/ui/_impl/table.py@@ -563,8 +563,8 @@ class table()app_mode = get_mode()- # These panels are not as useful in non-edit mode and require an external dependency- show_column_explorer = app_mode == "edit"+ # Some panels are not as useful in non-edit mode and require an external dependency+ show_column_explorer = app_mode == "edit" or app_mode == "run"show_chart_builder = app_mode == "edit"show_page_size_selector = Truediff --git a/tests/_plugins/ui/_impl/test_table.py b/tests/_plugins/ui/_impl/test_table.pyindex 483b406ebd..27f169a90a 100644--- a/tests/_plugins/ui/_impl/test_table.py+++ b/tests/_plugins/ui/_impl/test_table.py@@ -2162,7 +2162,7 @@ def test_show_toggles_app_mode():with patch("marimo._plugins.ui._impl.table.get_mode", return_value="run"):table_default = ui.table(data)- assert table_default._component_args["show-column-explorer"] is False+ assert table_default._component_args["show-column-explorer"] is Trueassert table_default._component_args["show-chart-builder"] is False