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

Skip to content

Commit 3054693

Browse files
authored
Merge pull request #19412 from Carreau/bad-indent
DOC: correct off by one indentation.
2 parents 9d12377 + f4c6cb9 commit 3054693

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/matplotlib/_constrained_layout.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ def do_constrained_layout(fig, renderer, h_pad, w_pad,
7474
renderer : Renderer
7575
Renderer to use.
7676
77-
h_pad, w_pad : float
78-
Padding around the axes elements in figure-normalized units.
79-
80-
hspace, wspace : float
81-
Fraction of the figure to dedicate to space between the
82-
axes. These are evenly spread between the gaps between the axes.
83-
A value of 0.2 for a three-column layout would have a space
84-
of 0.1 of the figure width between each column.
85-
If h/wspace < h/w_pad, then the pads are used instead.
77+
h_pad, w_pad : float
78+
Padding around the axes elements in figure-normalized units.
79+
80+
hspace, wspace : float
81+
Fraction of the figure to dedicate to space between the
82+
axes. These are evenly spread between the gaps between the axes.
83+
A value of 0.2 for a three-column layout would have a space
84+
of 0.1 of the figure width between each column.
85+
If h/wspace < h/w_pad, then the pads are used instead.
8686
"""
8787

8888
# list of unique gridspecs that contain child axes:

0 commit comments

Comments
 (0)