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 :

Module « matplotlib.pyplot »

Classe « FigureCanvasBase »

Informations générales

Héritage

builtins.object
    FigureCanvasBase

Définition

class FigureCanvasBase(builtins.object):

Description [extrait de FigureCanvasBase.__doc__]

    The canvas the figure renders into.

    Attributes
    ----------
    figure : `matplotlib.figure.Figure`
        A high-level figure instance.
    

Constructeur(s)

Signature du constructeur Description
__init__(self, figure=None)

Liste des attributs statiques

Nom de l'attribut Valeur
events['resize_event', 'draw_event', 'key_press_event', 'key_release_event', 'button_press_event', 'button_release_event', 'scroll_event', 'motion_notify_event', 'pick_event', 'figure_enter_event', 'figure_leave_event', 'axes_enter_event', 'axes_leave_event', 'close_event']
filetypes{'eps': 'Encapsulated Postscript', 'jpg': 'Joint Photographic Experts Group', 'jpeg': 'Joint Photographic Experts Group', 'pdf': 'Portable Document Format', 'pgf': 'PGF code for LaTeX', 'png': 'Portable Network Graphics', 'ps': 'Postscript', 'raw': 'Raw RGBA bitmap', 'rgba': 'Raw RGBA bitmap', 'svg': 'Scalable Vector Graphics', 'svgz': 'Scalable Vector Graphics', 'tif': 'Tagged Image File Format', 'tiff': 'Tagged Image File Format'}
fixed_dpiNone
required_interactive_frameworkNone
supports_blitFalse

Liste des propriétés

Nom de la propriétéDescription
button_pick_id
callbacks
scroll_pick_id

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
blit(self, bbox=None) Blit the canvas in bbox (default entire canvas). [extrait de blit.__doc__]
button_press_event(self, x, y, button, dblclick=False, guiEvent=None)
button_release_event(self, x, y, button, guiEvent=None)
close_event(self, guiEvent=None)
draw(self, *args, **kwargs)
draw_event(self, renderer) Pass a `DrawEvent` to all functions connected to ``draw_event``. [extrait de draw_event.__doc__]
draw_idle(self, *args, **kwargs)
enter_notify_event(self, guiEvent=None, xy=None)
flush_events(self)
get_default_filename(self)
get_default_filetype()
get_supported_filetypes() Return dict of savefig file formats supported by this backend. [extrait de get_supported_filetypes.__doc__]
get_supported_filetypes_grouped()
get_width_height(self)
get_window_title(self) [*Deprecated*] Return the title text of the window containing the figure, or None [extrait de get_window_title.__doc__]
grab_mouse(self, ax)
inaxes(self, xy)
is_saving(self)
key_press_event(self, key, guiEvent=None)
key_release_event(self, key, guiEvent=None)
leave_notify_event(self, guiEvent=None)
motion_notify_event(self, x, y, guiEvent=None)
mpl_connect(self, s, func)
mpl_disconnect(self, cid)
new_timer(self, interval=None, callbacks=None)
pick(self, mouseevent)
pick_event(self, mouseevent, artist, **kwargs)
print_figure(self, filename, dpi=None, facecolor=None, edgecolor=None, orientation='portrait', format=None, *, bbox_inches=None, pad_inches=None, bbox_extra_artists=None, backend=None, **kwargs)
release_mouse(self, ax)
resize(self, w, h) Set the canvas size in pixels. [extrait de resize.__doc__]
resize_event(self)
scroll_event(self, x, y, step, guiEvent=None)
set_window_title(self, title) [*Deprecated*] Set the title text of the window containing the figure. Note that [extrait de set_window_title.__doc__]
start_event_loop(self, timeout=0)
stop_event_loop(self)
switch_backends(self, FigureCanvasClass)

Méthodes héritées de la classe object

__delattr__, __dir__, __format__, __getattribute__, __hash__, __init_subclass__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__