A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://matplotlib.org/devdocs/devel/../gallery/misc/../../api/_as_gen/matplotlib.pyplot.ioff.html below:

matplotlib.pyplot.ioff — Matplotlib 3.11.0.dev1079+g1663e9af1b documentation

matplotlib.pyplot.ioff#
matplotlib.pyplot.ioff()[source]#

Disable interactive mode.

See pyplot.isinteractive for more details.

See also

ion

Enable interactive mode.

isinteractive

Whether interactive mode is enabled.

show

Show all figures (and maybe block).

pause

Show all figures, and block for a time.

Notes

For a temporary change, this can be used as a context manager:

# if interactive mode is on
# then figures will be shown on creation
plt.ion()
# This figure will be shown immediately
fig = plt.figure()

with plt.ioff():
    # interactive mode will be off
    # figures will not automatically be shown
    fig2 = plt.figure()
    # ...

To enable optional usage as a context manager, this function returns a context manager object, which is not intended to be stored or accessed by the user.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4