@@ -98,27 +98,6 @@ This new default may be overridden in either of three ways:
98
98
``artist.set_in_layout(False) ``.
99
99
3. Manually specify a list of artists in the new kwarg ``bbox_extra_artists ``.
100
100
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
-
122
101
123
102
`Text.set_text ` with string argument ``None `` sets string to empty
124
103
------------------------------------------------------------------
0 commit comments