Skip to content

Interactive matplotlib figures ​

With isolated kernels, Basthon's matplotlib figures become interactive: zoom, pan, back to previous views, coordinates shown under the mouse… The figure is computed in the kernel, then shown in an isolated frame, with its toolbar.

Mouse and keyboard events (mpl_connect) and animations work too, and the figure is exported as PNG, SVG or PDF with the download button.

Play with it!

Zoom on a matplotlib figure