Examples
PlotSmith includes comprehensive examples demonstrating its capabilities.
Jupyter Notebooks
Interactive Jupyter notebooks are available in the examples/notebooks/ directory:
01_introduction - Overview and getting started
02_timeseries - Time series plotting with confidence bands
03_model_evaluation - Model evaluation and backtesting
04_statistical_plots - Histograms and bar charts
05_heatmaps - Correlation matrices and heatmaps
06_styling_customization - Advanced styling and annotations
07_composition - Small multiples and figure layouts
Python Scripts
examples/basic_timeseries.py- Basic time series example
New Chart Types
Comprehensive examples for all new chart types:
examples_new_charts - Waterfall, Waffle, Dumbbell, Range, Lollipop, Slope, Metric, Box, Violin, Scatter, Correlation, and Forecast Comparison charts
To run the notebooks, install PlotSmith with examples dependencies:
# Using uv (recommended)
uv pip install plotsmith[examples]
# Or using pip
pip install plotsmith[examples]
Then open the notebooks in Jupyter:
jupyter notebook examples/notebooks/