@@ -684,12 +684,12 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
684
684
685
685
Returns
686
686
-------
687
- `~matplotlib.lines.Line2D`
687
+ :class: `~matplotlib.lines.Line2D`
688
688
689
689
Notes
690
690
-----
691
- kwargs are the same as kwargs to plot, and can be
692
- used to control the line properties. e.g.,
691
+ kwargs are passed to :class:`~matplotlib.lines.Line2D` and can be used
692
+ to control the line properties.
693
693
694
694
Examples
695
695
--------
@@ -702,7 +702,7 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
702
702
703
703
>>> axhline(y=1)
704
704
705
- * draw a default hline at 'y' = .5 that spans the the middle half of
705
+ * draw a default hline at 'y' = .5 that spans the middle half of
706
706
the xrange::
707
707
708
708
>>> axhline(y=.5, xmin=0.25, xmax=0.75)
@@ -746,16 +746,16 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
746
746
x position in data coordinates of the vertical line.
747
747
748
748
ymin : scalar, optional, default: 0
749
- Should be between 0 and 1, 0 being the far left of the plot, 1 the
750
- far right of the plot.
749
+ Should be between 0 and 1, 0 being the bottom of the plot, 1 the
750
+ top of the plot.
751
751
752
752
ymax : scalar, optional, default: 1
753
- Should be between 0 and 1, 0 being the far left of the plot, 1 the
754
- far right of the plot.
753
+ Should be between 0 and 1, 0 being the bottom of the plot, 1 the
754
+ top of the plot.
755
755
756
756
Returns
757
757
-------
758
- `~matplotlib.lines.Line2D`
758
+ :class: `~matplotlib.lines.Line2D`
759
759
760
760
761
761
Examples
0 commit comments