Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc2f7ab6

Browse files
jklymakmeeseeksmachine
authored andcommitted
Backport PR#20786: Fixed typo in _constrained_layout.py (#20782)
1 parent5435e6f commitc2f7ab6

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-
iffig._supylabelisnotNoneandfig._supxlabel.get_in_layout():
306+
iffig._supylabelisnotNoneandfig._supylabel.get_in_layout():
307307
p=fig._supylabel.get_position()
308308
ifgetattr(fig._supylabel,'_autopos',False):
309309
fig._supylabel.set_position((w_pad_local,p[1]))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp