nbagg
nbagg, short for Notebook Agg, is a backend for Matplotlib designed to display interactive plots inside Jupyter notebooks. It renders figures in the notebook frontend by communicating between the Python kernel and a JavaScript-based browser interface, allowing user interactions to be reflected in the displayed figure.
The backend uses the Agg rendering engine for drawing while providing interactive capabilities such as pan,
To use nbagg, users typically activate it with a magic command or backend switch, for example by
In practice, nbagg provides an early, browser-based interactive plotting experience within notebooks, but it has been