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

Skip to content

Commit eed5ab2

Browse files
committed
Minor doc cleanups
1 parent 34734a7 commit eed5ab2

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -970,11 +970,12 @@ def axhspan(self, ymin, ymax, xmin=0, xmax=1, **kwargs):
970970
971971
Returns
972972
-------
973-
Polygon : `~matplotlib.patches.Polygon`
973+
rectangle : `~matplotlib.patches.Polygon`
974+
Horizontal span (rectangle) from (xmin, ymin) to (xmax, ymax).
974975
975976
Other Parameters
976977
----------------
977-
**kwargs : `~matplotlib.patches.Polygon` properties.
978+
**kwargs : `~matplotlib.patches.Polygon` properties
978979
979980
%(Polygon)s
980981
@@ -1027,8 +1028,9 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
10271028
10281029
Other Parameters
10291030
----------------
1030-
**kwargs
1031-
Optional parameters are properties of the class `.Polygon`.
1031+
**kwargs : `~matplotlib.patches.Polygon` properties
1032+
1033+
%(Polygon)s
10321034
10331035
See Also
10341036
--------
@@ -6134,7 +6136,7 @@ def pcolorfast(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
61346136
61356137
ax.pcolorfast([X, Y], C, /, **kwargs)
61366138
6137-
This method is similar to ~.Axes.pcolor` and `~.Axes.pcolormesh`.
6139+
This method is similar to `~.Axes.pcolor` and `~.Axes.pcolormesh`.
61386140
It's designed to provide the fastest pcolor-type plotting with the
61396141
Agg backend. To achieve this, it uses different algorithms internally
61406142
depending on the complexity of the input grid (regular rectangular,
@@ -7470,8 +7472,8 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
74707472
of the bins is smaller than those of the segments.
74717473
74727474
**kwargs
7473-
Additional keyword arguments are passed on to imshow which makes
7474-
the specgram image.
7475+
Additional keyword arguments are passed on to `~.axes.Axes.imshow`
7476+
which makes the specgram image.
74757477
74767478
Returns
74777479
-------

0 commit comments

Comments
 (0)