A Marimo notebook demonstrating the Central Limit Theorem by visualizing the distribution of cumulative means.
This project includes three versions of the notebook:
main.md: Usespolarsandfacet_wrap.main1.md: Usesnumpyandfacet_wrap.main2.md: Usesnumpyandgggrid, with plots annotated by standard deviation.
The notebooks are designed to be run with uvx in a sandboxed environment. Marimo automatically installs the required dependencies defined in each file's frontmatter.
To run a notebook, execute one of the following commands:
# Polars version
uvx marimo run --sandbox main.md
# NumPy version (facet_wrap)
uvx marimo run --sandbox main1.md
# NumPy version (gggrid)
uvx marimo run --sandbox main2.mdTo edit a notebook, use the corresponding command:
# Polars version
uvx marimo edit --sandbox main.md
# NumPy version (facet_wrap)
uvx marimo edit --sandbox main1.md
# NumPy version (gggrid)
uvx marimo edit --sandbox main2.md