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

Skip to content

Commit 6db802d

Browse files
committed
DOC: slight reqord of Convenience
1 parent 07b1d52 commit 6db802d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/matplotlib/figure.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -811,14 +811,14 @@ def subplots(self, nrows=1, ncols=1, *, sharex=False, sharey=False,
811811
width_ratios : array-like of length *ncols*, optional
812812
Defines the relative widths of the columns. Each column gets a
813813
relative width of ``width_ratios[i] / sum(width_ratios)``.
814-
If not given, all columns will have the same width. Convenience
815-
for ``gridspec_kw={'width_ratios': [...]}``.
814+
If not given, all columns will have the same width. Equivalent
815+
to ``gridspec_kw={'width_ratios': [...]}``.
816816
817817
height_ratios : array-like of length *nrows*, optional
818818
Defines the relative heights of the rows. Each row gets a
819819
relative height of ``height_ratios[i] / sum(height_ratios)``.
820-
If not given, all rows will have the same height. Convenience
821-
for ``gridspec_kw={'height_ratios': [...]}``.
820+
If not given, all rows will have the same height. Equivalent
821+
to ``gridspec_kw={'height_ratios': [...]}``.
822822
823823
subplot_kw : dict, optional
824824
Dict with keywords passed to the `.Figure.add_subplot` call used to
@@ -1767,14 +1767,14 @@ def subplot_mosaic(self, mosaic, *, sharex=False, sharey=False,
17671767
width_ratios : array-like of length *ncols*, optional
17681768
Defines the relative widths of the columns. Each column gets a
17691769
relative width of ``width_ratios[i] / sum(width_ratios)``.
1770-
If not given, all columns will have the same width. Convenience
1771-
for ``gridspec_kw={'width_ratios': [...]}``.
1770+
If not given, all columns will have the same width. Equivalent
1771+
to ``gridspec_kw={'width_ratios': [...]}``.
17721772
17731773
height_ratios : array-like of length *nrows*, optional
17741774
Defines the relative heights of the rows. Each row gets a
17751775
relative height of ``height_ratios[i] / sum(height_ratios)``.
1776-
If not given, all rows will have the same height. Convenience
1777-
for ``gridspec_kw={'height_ratios': [...]}``.
1776+
If not given, all rows will have the same height. Equivalent
1777+
to ``gridspec_kw={'height_ratios': [...]}``.
17781778
17791779
subplot_kw : dict, optional
17801780
Dictionary with keywords passed to the `.Figure.add_subplot` call

0 commit comments

Comments
 (0)