Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? RAG (Retrieval-Augmented Generation)
et Fine Tuning d'un LLM
Voir le programme détaillé
Module « matplotlib.pyplot »

Fonction ioff - module matplotlib.pyplot

Signature de la fonction ioff

def ioff() -> 'AbstractContextManager' 

Description

help(matplotlib.pyplot.ioff)

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.


Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé