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

Commit9cbb29d

Browse files
committed
Fix typo in warning message.
A slash was missing between "and" and "or". Also reworded the thing abit.
1 parent7d0cb13 commit9cbb29d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎lib/matplotlib/figure.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,11 +2431,10 @@ def subplots_adjust(self, left=None, bottom=None, right=None, top=None,
24312431
"""
24322432
ifself.get_constrained_layout():
24332433
self.set_constrained_layout(False)
2434-
cbook._warn_external("This figure was using "
2435-
"constrained_layout==True, but that is "
2436-
"incompatible with subplots_adjust and or "
2437-
"tight_layout: setting "
2438-
"constrained_layout==False. ")
2434+
cbook._warn_external(
2435+
"This figure was using constrained_layout, but that is "
2436+
"incompatible with subplots_adjust and/or tight_layout; "
2437+
"disabling constrained_layout.")
24392438
self.subplotpars.update(left,bottom,right,top,wspace,hspace)
24402439
foraxinself.axes:
24412440
ifisinstance(ax,SubplotBase):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp