Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 280fd8d

Browse files
cgevansmeeseeksmachine
authored andcommitted
Backport PR #21787: Fixes row/column mixup in GridSpec height_ratios documentation.
1 parent 71abe97 commit 280fd8d

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
@@ -369,7 +369,7 @@ def __init__(self, nrows, ncols, figure=None,
369369
If not given, all columns will have the same width.
370370
371371
height_ratios : array-like of length *nrows*, optional
372-
Defines the relative heights of the rows. Each column gets a
372+
Defines the relative heights of the rows. Each row gets a
373373
relative height of ``height_ratios[i] / sum(height_ratios)``.
374374
If not given, all rows will have the same height.
375375

0 commit comments

Comments
 (0)