Skip to content

Commit 54cf7bc

Browse files
authored
Merge pull request #21787 from cgevans/gridspec-typo-fix
Fixes row/column mixup in GridSpec height_ratios documentation.
2 parents 25a54a4 + f9b0c2c commit 54cf7bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/gridspec.py

+1-1
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)