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

Skip to content

Commit 17f4d19

Browse files
authored
Merge pull request #21712 from ikhebgeenaccount/patch-1
Fixed typo in GridSpec height_ratio description
2 parents 3de2ea6 + 36a59e1 commit 17f4d19

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)