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

Appearance settings

Commit f905e64

Browse filesBrowse files
authored
Merge pull request matplotlib#18634 from anntzer/typo
DOC: Fix typo in warning message.
2 parents a66501d + 9cbb29d commit f905e64
Copy full SHA for f905e64

File tree

Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+4-5Lines 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
if self.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
for ax in self.axes:
24412440
if isinstance(ax, SubplotBase):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.