8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ee0cf0 + e2cde58 commit 45d2a48Copy full SHA for 45d2a48
examples/pyplots/auto_subplots_adjust.py
@@ -8,7 +8,7 @@
8
:doc:`draw_event</users/event_handling>`.
9
10
Note that a similar result would be achieved using `~.Figure.tight_layout`
11
-or `~.Figure.contrained_layout`; this example shows how one could customize
+or `~.Figure.constrained_layout`; this example shows how one could customize
12
the subplot parameter adjustment.
13
"""
14
import matplotlib.pyplot as plt
tutorials/intermediate/constrainedlayout_guide.py
@@ -20,7 +20,7 @@
20
* using the respective argument to :func:`~.pyplot.subplots` or
21
:func:`~.pyplot.figure`, e.g.::
22
23
- plt.subplots(contrained_layout=True)
+ plt.subplots(constrained_layout=True)
24
25
* activate it via :ref:`rcParams<matplotlib-rcparams>`, like::
26
0 commit comments