@@ -106,27 +106,6 @@ This new default may be overridden in either of three ways:
106
106
``artist.set_in_layout(False) ``.
107
107
3. Manually specify a list of artists in the new kwarg ``bbox_extra_artists ``.
108
108
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
-
130
109
131
110
`Text.set_text ` with string argument ``None `` sets string to empty
132
111
------------------------------------------------------------------
0 commit comments