Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0e93a3 + 5f446ee commit 2c3bc26Copy full SHA for 2c3bc26
1 file changed
lib/matplotlib/_constrained_layout.py
@@ -301,7 +301,7 @@ def _make_margin_suptitles(fig, renderer, *, w_pad=0, h_pad=0):
301
bbox = inv_trans_fig(fig._supxlabel.get_tightbbox(renderer))
302
fig._layoutgrid.edit_margin_min('bottom', bbox.height + 2 * h_pad)
303
304
- if fig._supylabel is not None and fig._supxlabel.get_in_layout():
+ if fig._supylabel is not None and fig._supylabel.get_in_layout():
305
p = fig._supylabel.get_position()
306
if getattr(fig._supylabel, '_autopos', False):
307
fig._supylabel.set_position((w_pad_local, p[1]))
0 commit comments