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.
Examples using matplotlib.pyplot.isinteractive
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.1/api/_as_gen/matplotlib.pyplot.isinteractive.html