8000 Backport PR #21712: Fixed typo in GridSpec height_ratio description · matplotlib/matplotlib@ec7a913 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec7a913

Browse files
jklymakmeeseeksmachine
authored andcommitted
Backport PR #21712: Fixed typo in GridSpec height_ratio description
1 parent 56a2ca4 commit ec7a913

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
@@ -39,7 +39,7 @@ def __init__(self, nrows, ncols, height_ratios=None, width_ratios=None):
3939
relative width of ``width_ratios[i] / sum(width_ratios)``.
4040
If not given, all columns will have the same width.
4141
height_ratios : array-like of length *nrows*, optional
42-
Defines the relative heights of the rows. Each column gets a
42+
Defines the relative heights of the rows. Each row gets a
4343
relative height of ``height_ratios[i] / sum(height_ratios)``.
4444
If not given, all rows will have the same height.
4545
"""

0 commit comments

Comments
 (0)
0