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 ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé
Classe « Button »

Constructeur matplotlib.pyplot.Button.__init__

Signature de la constructeur __init__

def __init__(self, ax, label, image=None, color='0.85', hovercolor='0.95', *, useblit=True) 

Description

help(Button.__init__)

Parameters
----------
ax : `~matplotlib.axes.Axes`
    The `~.axes.Axes` instance the button will be placed into.
label : str
    The button text.
image : array-like or PIL Image
    The image to place in the button, if not *None*.  The parameter is
    directly forwarded to `~.axes.Axes.imshow`.
color : :mpltype:`color`
    The color of the button when not activated.
hovercolor : :mpltype:`color`
    The color of the button when the mouse is over it.
useblit : bool, default: True
    Use blitting for faster drawing if supported by the backend.
    See the tutorial :ref:`blitting` for details.

    .. versionadded:: 3.7


Vous êtes un professionnel et vous avez besoin d'une formation ? Calcul scientifique
avec Python
Voir le programme détaillé