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
docs: add a video for lazy execution (#5890)
Akshay Agrawalc2d174f69690
diff --git a/docs/_static/docs-lazy-execution.mp4 b/docs/_static/docs-lazy-execution.mp4new file mode 100644index 0000000000..6418777cc7Binary files /dev/null and b/docs/_static/docs-lazy-execution.mp4 differdiff --git a/docs/guides/configuration/runtime_configuration.md b/docs/guides/configuration/runtime_configuration.mdindex 73eae234ff..b5074c7726 100644--- a/docs/guides/configuration/runtime_configuration.md+++ b/docs/guides/configuration/runtime_configuration.md@@ -1,11 +1,11 @@# Runtime configuration-Through the notebook settings menu, you can configure how and when marimo-runs cells.+Through the notebook settings menu, you can configure how and when marimo runs+cells.<video controls width="100%" height="100%" align="center" src="/_static/docs-runtime-config.mp4"> </video>-## On startup+## Disable autorun on startupBy default, marimo notebooks run automatically on startup; just how the command@@ -26,7 +26,9 @@ Disable this behavior by unchecking "Autorun on startup"._When sharing a notebook as an app with `marimo run`, this setting hasno effect._-## On cell change+## Disable autorun on cell change (lazy execution)++<video controls width="100%" height="100%" align="center" src="/_static/docs-lazy-execution.mp4"> </video>By default, when a cell is run or a UI element is interacted with, marimoautomatically runs cells that reference any of its variables. **You can disablediff --git a/docs/guides/expensive_notebooks.md b/docs/guides/expensive_notebooks.mdindex 39b030e2bd..ce1d34a971 100644--- a/docs/guides/expensive_notebooks.md+++ b/docs/guides/expensive_notebooks.md@@ -45,7 +45,7 @@ def __():If you habitually work with very expensive notebooks, you can[disable automatic-execution](../guides/configuration/runtime_configuration.md#on-cell-change). When+execution](../guides/configuration/runtime_configuration.md#disable-autorun-on-cell-change-lazy-execution). Whenautomatic execution is disabled, when you run a cell, marimomarks dependent cells as stale instead of running them automatically.