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 ? Deep Learning avec Python
et Keras et Tensorflow
Voir le programme détaillé
Module « matplotlib.pyplot »

Classe « FigureBase »

Informations générales

Héritage

builtins.object
    Artist
        FigureBase

Définition

class FigureBase(Artist):

help(FigureBase)

Base class for `.Figure` and `.SubFigure` containing the methods that add
artists to the figure or subfigure, create Axes, etc.

Constructeur(s)

Signature du constructeur Description
__init__(self, **kwargs)

Liste des attributs statiques

Nom de l'attribut Valeur
zorder0

Liste des propriétés

Nom de la propriétéDescription
axesThe `~.axes.Axes` instance the artist resides in, or *None*. [extrait de axes.__doc__]
figureThe root `Figure`. To get the parent of a `SubFigure`, use the `get_figure` method. [extrait de figure.__doc__]
frameon
mouseover
stale
sticky_edges

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
add_artist(self, artist, clip=False)
add_axes(self, *args, **kwargs) Add an `~.axes.Axes` to the figure. [extrait de add_axes.__doc__]
add_gridspec(self, nrows=1, ncols=1, **kwargs)
add_subfigure(self, subplotspec, **kwargs)
add_subplot(self, *args, **kwargs) Add an `~.axes.Axes` to the figure as part of a subplot arrangement. [extrait de add_subplot.__doc__]
align_labels(self, axs=None)
align_titles(self, axs=None)
align_xlabels(self, axs=None)
align_ylabels(self, axs=None)
autofmt_xdate(self, bottom=0.2, rotation=30, ha='right', which='major')
clear(self, keep_observers=False)
clf(self, keep_observers=False)
colorbar(self, mappable, cax=None, ax=None, use_gridspec=True, **kwargs) Add a colorbar to a plot. [extrait de colorbar.__doc__]
contains(self, mouseevent)
delaxes(self, ax)
gca(self)
get_children(self) Get a list of artists contained in the figure. [extrait de get_children.__doc__]
get_default_bbox_extra_artists(self)
get_edgecolor(self) Get the edge color of the Figure rectangle. [extrait de get_edgecolor.__doc__]
get_facecolor(self) Get the face color of the Figure rectangle. [extrait de get_facecolor.__doc__]
get_figure(self, root=None)
get_frameon(self)
get_linewidth(self)
get_suptitle(self) Return the suptitle as string or an empty string if not set. [extrait de get_suptitle.__doc__]
get_supxlabel(self) Return the supxlabel as string or an empty string if not set. [extrait de get_supxlabel.__doc__]
get_supylabel(self) Return the supylabel as string or an empty string if not set. [extrait de get_supylabel.__doc__]
get_tightbbox(self, renderer=None, *, bbox_extra_artists=None)
get_window_extent(self, renderer=None)
legend(self, *args, **kwargs) Place a legend on the figure. [extrait de legend.__doc__]
sca(self, a) Set the current Axes to be *a* and return *a*. [extrait de sca.__doc__]
set(self, *, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, frameon=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, linewidth=<UNSET>, mouseover=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>) Set multiple properties at once. [extrait de set.__doc__]
set_edgecolor(self, color)
set_facecolor(self, color)
set_figure(self, fig)
set_frameon(self, b)
set_linewidth(self, linewidth)
subfigures(self, nrows=1, ncols=1, squeeze=True, wspace=None, hspace=None, width_ratios=None, height_ratios=None, **kwargs)
subplot_mosaic(self, mosaic, *, sharex=False, sharey=False, width_ratios=None, height_ratios=None, empty_sentinel='.', subplot_kw=None, per_subplot_kw=None, gridspec_kw=None)
subplots(self, nrows=1, ncols=1, *, sharex=False, sharey=False, squeeze=True, width_ratios=None, height_ratios=None, subplot_kw=None, gridspec_kw=None)
subplots_adjust(self, left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)
suptitle(self, t, **kwargs) Add a centered super title to the figure. [extrait de suptitle.__doc__]
supxlabel(self, t, **kwargs) Add a centered super xlabel to the figure. [extrait de supxlabel.__doc__]
supylabel(self, t, **kwargs) Add a centered super ylabel to the figure. [extrait de supylabel.__doc__]
text(self, x, y, s, fontdict=None, **kwargs) Add text to figure. [extrait de text.__doc__]

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

__getstate__, __init_subclass__, __subclasshook__, add_callback, convert_xunits, convert_yunits, draw, findobj, format_cursor_data, get_agg_filter, get_alpha, get_animated, get_clip_box, get_clip_on, get_clip_path, get_cursor_data, get_gid, get_in_layout, get_label, get_mouseover, get_path_effects, get_picker, get_rasterized, get_sketch_params, get_snap, get_transform, get_transformed_clip_path_and_affine, get_url, get_visible, get_zorder, have_units, is_transform_set, pchanged, pick, pickable, properties, remove, remove_callback, set_agg_filter, set_alpha, set_animated, set_clip_box, set_clip_on, set_clip_path, set_gid, set_in_layout, set_label, set_mouseover, set_path_effects, set_picker, set_rasterized, set_sketch_params, set_snap, set_transform, set_url, set_visible, set_zorder, update, update_from

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

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

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é