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 ? Programmation Python
Les compléments
Voir le programme détaillé
Classe « FigureBase »

Méthode matplotlib.pyplot.FigureBase.get_tightbbox

Signature de la méthode get_tightbbox

def get_tightbbox(self, renderer=None, *, bbox_extra_artists=None) 

Description

help(FigureBase.get_tightbbox)

Return a (tight) bounding box of the figure *in inches*.

Note that `.FigureBase` differs from all other artists, which return
their `.Bbox` in pixels.

Artists that have ``artist.set_in_layout(False)`` are not included
in the bbox.

Parameters
----------
renderer : `.RendererBase` subclass
    Renderer that will be used to draw the figures (i.e.
    ``fig.canvas.get_renderer()``)

bbox_extra_artists : list of `.Artist` or ``None``
    List of artists to include in the tight bounding box.  If
    ``None`` (default), then all artist children of each Axes are
    included in the tight bounding box.

Returns
-------
`.BboxBase`
    containing the bounding box (in figure inches).


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é