Skip to content

Commit f9b0c2c

Browse files
authored
Docs fix row/column in GridSpec height_ratios
Documentation for height_ratios in GridSpec.__init__ uses "column" where it should use "row". This fixes the mixup.
1 parent 25a54a4 commit f9b0c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/gridspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def __init__(self, nrows, ncols, figure=None,
371371
If not given, all columns will have the same width.
372372
373373
height_ratios : array-like of length *nrows*, optional
374-
Defines the relative heights of the rows. Each column gets a
374+
Defines the relative heights of the rows. Each row gets a
375375
relative height of ``height_ratios[i] / sum(height_ratios)``.
376376
If not given, all rows will have the same height.
377377

0 commit comments

Comments
 (0)