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 45d2a48

Browse filesBrowse files
authored
Merge pull request #12275 from meeseeksmachine/auto-backport-of-pr-12272-on-v3.0.x
Backport PR #12272 on branch v3.0.x (Fix `contrained` to `constrained`)
2 parents 4ee0cf0 + e2cde58 commit 45d2a48
Copy full SHA for 45d2a48

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎examples/pyplots/auto_subplots_adjust.py

Copy file name to clipboardExpand all lines: examples/pyplots/auto_subplots_adjust.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:doc:`draw_event</users/event_handling>`.
99
1010
Note that a similar result would be achieved using `~.Figure.tight_layout`
11-
or `~.Figure.contrained_layout`; this example shows how one could customize
11+
or `~.Figure.constrained_layout`; this example shows how one could customize
1212
the subplot parameter adjustment.
1313
"""
1414
import matplotlib.pyplot as plt

‎tutorials/intermediate/constrainedlayout_guide.py

Copy file name to clipboardExpand all lines: tutorials/intermediate/constrainedlayout_guide.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* using the respective argument to :func:`~.pyplot.subplots` or
2121
:func:`~.pyplot.figure`, e.g.::
2222
23-
plt.subplots(contrained_layout=True)
23+
plt.subplots(constrained_layout=True)
2424
2525
* activate it via :ref:`rcParams<matplotlib-rcparams>`, like::
2626

0 commit comments

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