Skip to content

Commit b4df37d

Browse files
committed
Axes docstring updates on axh/vlines, axh/vspan
1 parent bae7f77 commit b4df37d

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -679,13 +679,8 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
679679
680680
See also
681681
--------
682-
hlines : add horizontal lines in data coordinates
683-
axhspan : add a horizontal span (rectangle) across the axis
684-
685-
Notes
686-
-----
687-
kwargs are passed to :class:`~matplotlib.lines.Line2D` and can be used
688-
to control the line properties.
682+
hlines : Add horizontal lines in data coordinates.
683+
axhspan : Add a horizontal span (rectangle) across the axis.
689684
690685
Examples
691686
--------
@@ -769,8 +764,8 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
769764
770765
See also
771766
--------
772-
vlines : add vertical lines in data coordinates
773-
axvspan : add a vertical span (rectangle) across the axis
767+
vlines : Add vertical lines in data coordinates.
768+
axvspan : Add a vertical span (rectangle) across the axis.
774769
"""
775770

776771
if "transform" in kwargs:
@@ -829,7 +824,7 @@ def axhspan(self, ymin, ymax, xmin=0, xmax=1, **kwargs):
829824
830825
See Also
831826
--------
832-
axvspan : add a vertical span across the axes
827+
axvspan : Add a vertical span across the axes.
833828
"""
834829
trans = self.get_yaxis_transform(which='grid')
835830

@@ -886,7 +881,7 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
886881
887882
See Also
888883
--------
889-
axhspan : add a horizontal span across the axes
884+
axhspan : Add a horizontal span across the axes.
890885
891886
Examples
892887
--------

0 commit comments

Comments
 (0)