Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8acb331

Browse files
committed
DOC: remove duplicate section
1 parent 9db5400 commit 8acb331

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
@@ -98,27 +98,6 @@ This new default may be overridden in either of three ways:
9898
``artist.set_in_layout(False)``.
9999
3. Manually specify a list of artists in the new kwarg ``bbox_extra_artists``.
100100

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

123102
`Text.set_text` with string argument ``None`` sets string to empty
124103
------------------------------------------------------------------

0 commit comments

Comments
 (0)