API

Jupyter

These functions will only work in the context of a jupyter notebook as they leverage ipywidgets sliders. Consequently you will have the best perfomance when using the ipympl backend %matplotlib ipympl

interactive_plot

Make a plot interactive using sliders.

interactive_plot_factory

Use this function for maximum control over layout of the widgets

Generic

Functions that will be useful irrespective of backend.

heatmap_slicer

Compare horizontal and/or vertical slices accross multiple arrays.

zoom_factory

Add ability to zoom with the scroll wheel.

panhandler

Enable panning a plot with any mouse button.

Utilities

Functions that make it a bit more convenient to do some things in matplotlib.

ioff

A context manager for turning interactive mode off.

figure

Matplotlib figure but a scalar figsize will multiply rcParams figsize

nearest_idx

Return the index of the array that is closest to value.