mpl_interactions
Sliders to control matplotlib and other interactive goodies. Works in any interactive backend and even uses ipywidgets when in a Jupyter notebook.
mpl_interactions' library provides helpful ways to interact with Matplotlib plots. Full narrative documentation and example can be found on ReadtheDocs.
Installation
pip install mpl_interactions["jupyter"] # will install necessary deps for using in jupyter
# for use only outside of jupyter:
pip install mpl_interactions
If you use JupyterLab, make sure you follow the full instructions in the ipympl readme in particular installing jupyterlab-manager.