========================
anyplotlib Documentation
========================
anyplotlib is a lightweight, interactive plotting library for Jupyter notebooks and JupyterLab,
backed by `anywidget
⚡ Try it out — no install needed
Drag the crosshair to update the spectrum live · press i on the image to switch to an 8×8 integration window · press s on the spectrum to filter the image by energy range.
.. grid:: 2 3 3 3 :gutter: 2 .. grid-item-card:: :link: getting_started :link-type: doc :octicon:`rocket;2em;sd-text-info` Getting Started ^^^ New to anyplotlib? The getting started guide walks through installation and your first interactive figure in a Jupyter notebook. .. grid-item-card:: :link: api/index :link-type: doc :octicon:`code-square;2em;sd-text-info` API Reference ^^^ Full documentation of the anyplotlib API — ``Figure``, ``Axes``, plot classes, markers, widgets, and callbacks — with parameter descriptions and type signatures. .. grid-item-card:: :link: auto_examples/index :link-type: doc :octicon:`zap;2em;sd-text-info` Examples ^^^ Gallery of short, self-contained examples showing 1-D signals, 2-D images, 3-D surfaces, bar charts, interactive widgets, and more. .. grid-item-card:: :link: auto_examples/Benchmarks/plot_benchmark_comparison :link-type: doc :octicon:`graph;2em;sd-text-info` 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. .. grid-item-card:: :link: benchmarking :link-type: doc :octicon:`tools;2em;sd-text-info` Benchmarking ^^^ Developer guide: running the Python and JS benchmark suites, updating baselines, best practices, and the CI strategy that makes timing comparisons hardware-agnostic. .. grid-item-card:: :link: events :link-type: doc :octicon:`zap;2em;sd-text-info` Event System ^^^ Interactive event handling — ``pointer_down``, ``pointer_settled``, ``key_down``, and more. Includes a comparison with Matplotlib and pygfx and an implementation-status table. .. grid-item-card:: :link: dev/index :link-type: doc :octicon:`people;2em;sd-text-info` Developer Docs ^^^ Contributing guide: environment setup, architecture overview, writing tests, Sphinx documentation, and interactive Sphinx Gallery examples. .. toctree:: :hidden: :maxdepth: 2 getting_started events embedding api/index auto_examples/index Performance