Skip to content

Commit b4529af

Browse files
committed
DOC documented more of the gridspec options
1 parent 064e92c commit b4529af

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

lib/matplotlib/gridspec.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,28 @@ def __init__(self, nrows, ncols, figure=None,
196196
ncols : int
197197
Number or columns in grid.
198198
199+
figure : ~.figure.Figure
200+
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.
212+
213+
wspace : float
214+
The amount of width reserved for space between subplots,
215+
expressed as a fraction of the average axis width.
216+
217+
hspace : float
218+
The amount of height reserved for space between subplots,
219+
expressed as a fraction of the average axis height.
220+
199221
Notes
200222
-----
201223
See `~.figure.SubplotParams` for descriptions of the layout parameters.

0 commit comments

Comments
 (0)