8000 DOC Better description of left, right, top, bottom · matplotlib/matplotlib@b924709 · GitHub
[go: up one dir, main page]

Skip to content

Commit b924709

Browse files
committed
DOC Better description of left, right, top, bottom
1 parent b4529af commit b924709

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

lib/matplotlib/gridspec.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -196,19 +196,12 @@ def __init__(self, nrows, ncols, figure=None,
196196
ncols : int
197197
Number or columns in grid.
198198
199-
figure : ~.figure.Figure
199+
figure : ~.figure.Figure, optional
200200
201-
left : float
202-
The left side of the subplots of the figure.
203-
204-
right : float
205-
The right side of the subplots of the figure.
206-
207-
bottom : float
208-
The bottom of the subplots of the figure.
209-
210-
top : float
211-
The top of the subplots of the figure.
201+
left, right, top, bottom : float
202+
Extent of the subplots as a fraction of figure width.
203+
Left cannot be larger than right, and bottom cannot be larger than
204+
top.
212205
213206
wspace : float
214207
The amount of width reserved for space between subplots,

0 commit comments

Comments
 (0)
0