Skip to content

Commit 1c16a29

Browse files
committed
Correct docstring for axvspan()
1 parent f881e9b commit 1c16a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
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)