Skip to content

Commit 433ec04

Browse files
authored
Merge pull request #20787 from meeseeksmachine/auto-backport-of-pr-20786-on-v3.4.x
Backport PR #20786 on branch v3.4.x (Fixed typo in _constrained_layout.py (#20782))
2 parents 5435e6f + c2f7ab6 commit 433ec04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/_constrained_layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def _make_margin_suptitles(fig, renderer, *, w_pad=0, h_pad=0):
303303
bbox = inv_trans_fig(fig._supxlabel.get_tightbbox(renderer))
304304
fig._layoutgrid.edit_margin_min('bottom', bbox.height + 2 * h_pad)
305305

306-
if fig._supylabel is not None and fig._supxlabel.get_in_layout():
306+
if fig._supylabel is not None and fig._supylabel.get_in_layout():
307307
p = fig._supylabel.get_position()
308308
if getattr(fig._supylabel, '_autopos', False):
309309
fig._supylabel.set_position((w_pad_local, p[1]))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy