Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c80861e

Browse files
committed
Update a note in HowTo FAQ with new info.
1 parent 0654800 commit c80861e

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

doc/faq/howto_faq.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.. _howto-faq:
32

43
******
@@ -190,7 +189,8 @@ specify the location explicitly::
190189
ax = fig.add_axes([left, bottom, width, height])
191190

192191
where all values are in fractional (0 to 1) coordinates. See
193-
:doc:`/gallery/subplots_axes_and_figures/axes_demo` for an example of placing axes manually.
192+
:doc:`/gallery/subplots_axes_and_figures/axes_demo` for an example of
193+
placing axes manually.
194194

195195
.. _howto-auto-adjust:
196196

@@ -199,8 +199,11 @@ Automatically make room for tick labels
199199

200200
.. note::
201201
This is now easier to handle than ever before.
202-
Calling :func:`~matplotlib.pyplot.tight_layout` can fix many common
203-
layout issues. See the :doc:`/tutorials/intermediate/tight_layout_guide`.
202+
Calling :func:`~matplotlib.pyplot.tight_layout` or alternatively using
203+
``constrained_layout=True`` argument in :func:`~matplotlib.pyplot.subplots`
204+
can fix many common layout issues. See the
205+
:doc:`/tutorials/intermediate/tight_layout_guide` and
206+
:doc:`/tutorials/intermediate/constrainedlayout_guide` for more details.
204207

205208
The information below is kept here in case it is useful for other
206209
purposes.

0 commit comments

Comments
 (0)