There was an error while loading. Please reload this page.
contrained
constrained
1 parent 4ee0cf0 commit e2cde58Copy full SHA for e2cde58
2 files changed
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