A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://matplotlib.org/api/_as_gen/matplotlib.figure.Figure.get_tightbbox.html below:

matplotlib.figure.Figure.get_tightbbox — Matplotlib 3.10.5 documentation

matplotlib.figure.Figure.get_tightbbox#
Figure.get_tightbbox(renderer=None, *, bbox_extra_artists=None)[source]#

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:
rendererRendererBase subclass

Renderer that will be used to draw the figures (i.e. fig.canvas.get_renderer())

bbox_extra_artistslist 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).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4