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

Skip to content

Commit c0bb31e

Browse files
authored
Merge pull request #21793 from meeseeksmachine/auto-backport-of-pr-21787-on-v3.5.x
Backport PR #21787 on branch v3.5.x (Fixes row/column mixup in GridSpec height_ratios documentation.)
2 parents 71abe97 + 280fd8d commit c0bb31e

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)