matplotlib.pyplot.isinteractive#
- matplotlib.pyplot.isinteractive()[source]#
Return whether plots are updated after every plotting command.
The interactive mode is mainly useful if you build plots from the commandline and want to see the effect of each command while you are building thefigure.
In interactive mode:
newly created figures will be shown immediately;
figures will automatically redraw on change;
pyplot.showwill not block by default.
In non-interactive mode:
newly created figures and changes to figures will not be reflected untilexplicitly asked to be;
pyplot.showwill block by default.
On this page