matplotlib.pyplot.isinteractive — Matplotlib 3.10.3 documentation (original) (raw)

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 command line and want to see the effect of each command while you are building the figure.

In interactive mode:

In non-interactive mode:

See also

ion

Enable interactive mode.

ioff

Disable interactive mode.

show

Show all figures (and maybe block).

pause

Show all figures, and block for a time.