10000 docs: update return value for Axes.axhspan and Axes.axvspan · matplotlib/matplotlib@5112ad5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5112ad5

Browse files
committed
docs: update return value for Axes.axhspan and Axes.axvspan
1 parent c9bda41 commit 5112ad5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,14 +1006,14 @@ def axhspan(self, ymin, ymax, xmin=0, xmax=1, **kwargs):
10061006
10071007
Returns
10081008
-------
1009-
`~matplotlib.patches.Polygon`
1009+
`~matplotlib.patches.Rectangle`
10101010
Horizontal span (rectangle) from (xmin, ymin) to (xmax, ymax).
10111011
10121012
Other Parameters
10131013
----------------
1014-
**kwargs : `~matplotlib.patches.Polygon` properties
1014+
**kwargs : `~matplotlib.patches.Rectangle` properties
10151015
1016-
%(Polygon:kwdoc)s
1016+
%(Rectangle:kwdoc)s
10171017
10181018
See Also
10191019
--------
@@ -1061,14 +1061,14 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
10611061
10621062
Returns
10631063
-------
1064-
`~matplotlib.patches.Polygon`
1064+
`~matplotlib.patches.Rectangle`
10651065
Vertical span (rectangle) from (xmin, ymin) to (xmax, ymax).
10661066
10671067
Other Parameters
10681068
----------------
1069-
**kwargs : `~matplotlib.patches.Polygon` properties
1069+
**kwargs : `~matplotlib.patches.Rectangle` properties
10701070
1071-
%(Polygon:kwdoc)s
1071+
%(Rectangle:kwdoc)s
10721072
10731073
See Also
10741074
--------

0 commit comments

Comments
 (0)
0