Skip to content

Commit b841556

Browse files
authored
Merge pull request #11400 from gsmecher/gsmecher/fix-axvspan-docstring
Correct docstring for axvspan()
2 parents f881e9b + 1c16a29 commit b841556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
683683
spans the yrange, regardless of the ylim settings, even if you
684684
change them, e.g., with the :meth:`set_ylim` command. That is,
685685
the vertical extent is in axes coords: 0=bottom, 0.5=middle,
686-
1.0=top but the y location is in data coordinates.
686+
1.0=top but the x location is in data coordinates.
687687
688688
Parameters
689689
----------

0 commit comments

Comments
 (0)