Skip to content

Commit cbf5928

Browse files
authored
Merge pull request #11826 from NelleV/gridspec_doc
DOC documented more of the gridspec options
2 parents 064e92c + 1cd174e commit cbf5928

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lib/matplotlib/gridspec.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,21 @@ def __init__(self, nrows, ncols, figure=None,
196196
ncols : int
197197
Number or columns in grid.
198198
199+
figure : ~.figure.Figure, optional
200+
201+
left, right, top, bottom : float
202+
Extent of the subplots as a fraction of figure width or height.
203+
Left cannot be larger than right, and bottom cannot be larger than
204+
top.
205+
206+
wspace : float
207+
The amount of width reserved for space between subplots,
208+
expressed as a fraction of the average axis width.
209+
210+
hspace : float
211+
The amount of height reserved for space between subplots,
212+
expressed as a fraction of the average axis height.
213+
199214
Notes
200215
-----
201216
See `~.figure.SubplotParams` for descriptions of the layout parameters.

0 commit comments

Comments
 (0)