matplotlib.pyplot.isinteractive¶
-
matplotlib.pyplot.
isinteractive
()[source]¶ Return if pyplot is in "interactive mode" or not.
If in interactive mode then:
- newly created figures will be shown immediately;
- figures will automatically redraw on change;
pyplot.show
will not block by default.
If not in interactive mode then:
- newly created figures and changes to figures will not be reflected until explicitly asked to be;
pyplot.show
will block by default.