File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -181,3 +181,19 @@ wx Timer interval
181
181
~~~~~~~~~~~~~~~~~
182
182
Setting the timer interval on a not-yet-started ``TimerWx `` won't start it
183
183
anymore.
184
+
185
+ tight/constrained_layout no longer worry about titles that are too wide
186
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
187
+
188
+ *tight_layout * and *constrained_layout * shrink axes to accommodate
189
+ "decorations" on the axes. However, if an xlabel or title is too long in the
190
+ x direction, making the axes smaller in the x-direction doesn't help. The
191
+ behavior of both has been changed to ignore the width of the title and
192
+ xlabel and the height of the ylabel in the layout logic.
193
+
194
+ This also means there is a new keyword argument for `.axes.Axes.get_tightbbox `:
195
+ ``for_layout_only ``, which defaults to *False *, but if *True * returns a
196
+ bounding box using the rules above. `.axis.get_tightbbox ` gets an
197
+ ``ignore_label `` keyword argument, which is *None * by default, but which can
198
+ also be 'x' or 'y'. These API changes are public, but are meant to be
199
+ mostly used internally.
You can’t perform that action at this time.
0 commit comments