mpl_interactions.ioff

ioff = <mpl_interactions.utils._ioff_class object>

A context manager for turning interactive mode off. Now that https://github.com/matplotlib/matplotlib/pull/17371 has been merged this will be availiable via plt.ioff starting in Matplotlib 3.4