We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5521b65 + 94ea8a4 commit 905f103Copy full SHA for 905f103
lib/matplotlib/figure.py
@@ -1596,7 +1596,10 @@ def get_default_bbox_extra_artists(self):
1596
1597
def get_tightbbox(self, renderer, bbox_extra_artists=None):
1598
"""
1599
- Return a (tight) bounding box of the figure in inches.
+ Return a (tight) bounding box of the figure *in inches*.
1600
+
1601
+ Note that `.FigureBase` differs from all other artists, which return
1602
+ their `.Bbox` in pixels.
1603
1604
Artists that have ``artist.set_in_layout(False)`` are not included
1605
in the bbox.
0 commit comments