Skip to content

rjbudzynski/lets-plot-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualizing the Central Limit Theorem

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: Uses polars and facet_wrap.
  • main1.md: Uses numpy and facet_wrap.
  • main2.md: Uses numpy and gggrid, with plots annotated by standard deviation.

Usage

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.

Running the Notebooks

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.md

Editing the Notebooks

To 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors