The first call to matshow() re-enables interactive mode after it has been disabled by matplotlib.interactive(False). In a Jupyter notebook, this has the result of a figure not intended for display ...
A robust, fully interactive implementation of "Zoomed Inset Axes" for Python and Matplotlib. This project recreates the functionality of MathWorks' "Zoomed Axes" toolbox but adds dynamic interactivity ...