Skip to content

Commit 462d131

Browse files
committed
Merge remote-tracking branch 'origin/v3.0.0-doc' into v3.0.x
2 parents 760cff7 + 735bff4 commit 462d131

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

doc/api/api_changes.rst

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -106,27 +106,6 @@ This new default may be overridden in either of three ways:
106106
``artist.set_in_layout(False)``.
107107
3. Manually specify a list of artists in the new kwarg ``bbox_extra_artists``.
108108

109-
`.matplotlib.Axes.get_tightbbox` now includes all artists
110-
---------------------------------------------------------
111-
112-
Layout tools like `.Figure.tight_layout`, ``constrained_layout``,
113-
and ``fig.savefig('fname.png', bbox_inches="tight")`` use
114-
`.matplotlib.Axes.get_tightbbox` to determine the bounds of each axes on
115-
a figure and adjust spacing between axes.
116-
117-
In Matplotlib 2.2 ``get_tightbbox`` started to include legends made on the
118-
axes, but still excluded some other artists, like text that may overspill an
119-
axes. For Matplotlib 3.0, *all* artists are now included in the bounding box.
120-
121-
This new default may be overridden in either of two ways:
122-
123-
1. Make the artist to be excluded a child of the figure, not the axes. E.g.,
124-
call ``fig.legend()`` instead of ``ax.legend()`` (perhaps using
125-
`~.matplotlib.Axes.get_legend_handles_labels` to gather handles and labels
126-
from the parent axes).
127-
2. If the artist is a child of the axes, set the artist property
128-
``artist.set_in_layout(False)``.
129-
130109

131110
`Text.set_text` with string argument ``None`` sets string to empty
132111
------------------------------------------------------------------

0 commit comments

Comments
 (0)