Skip to content

Examples

Runnable example scripts live in examples/.


simple_wave_animation.py

A single oscillating cosine wave — the quick example.


multi_panel_animation.py

Five subplots with different plot types updating together.


very_complex_animation.py

A 14-subplot GridSpec layout — the figure used by the benchmark. It showcases how much the setup-once / update-many design saves when the layout is expensive to build.


nondeterministic_video_loader.py

Handling frames whose parameters arrive out of order, using IndexedFrameParams. Useful when frames are decoded by a parallel dataloader that returns them non-deterministically.