anyplotlib Documentation#

anyplotlib is a lightweight, interactive plotting library for Jupyter notebooks and JupyterLab, backed by anywidget and a pure-JavaScript canvas renderer. It follows the object-oriented Matplotlib API — create a Figure, call methods on Axes — while delivering real-time interactivity and high performance on large datasets through canvas-based blitting instead of SVG.

Getting Started

New to anyplotlib? The getting started guide walks through installation and your first interactive figure in a Jupyter notebook.

Getting Started

API Reference

Full documentation of the anyplotlib API — Figure, Axes, plot classes, markers, widgets, and callbacks — with parameter descriptions and type signatures.

API Reference

Examples

Gallery of short, self-contained examples showing 1-D signals, 2-D images, 3-D surfaces, bar charts, interactive widgets, and more.

Examples

Performance

Why anyplotlib is fast: compact binary encoding, browser-side LUT colormapping, canvas blitting, and incremental traitlet pushes — plus an honest look at current limitations.

Plot Update Comparison

Benchmarking

Developer guide: running the Python and JS benchmark suites, updating baselines, best practices, and the CI strategy that makes timing comparisons hardware-agnostic.

Benchmarking