@@ -3660,10 +3660,10 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
3660
3660
3661
3661
Parameters
3662
3662
----------
3663
- y : scalar or 1D array like
3663
+ y : scalar or 1D array_like
3664
3664
y-indexes where to plot the lines.
3665
3665
3666
- xmin, xmax : scalar or 1D array like
3666
+ xmin, xmax : scalar or 1D array_like
3667
3667
Respective beginning and end of each line. If scalars are
3668
3668
provided, all lines will have same length.
3669
3669
@@ -3675,19 +3675,20 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
3675
3675
3676
3676
Returns
3677
3677
-------
3678
- matplotlib.collections.LineCollection
3678
+ lines : `~ matplotlib.collections.LineCollection`
3679
3679
3680
3680
Other parameters
3681
3681
----------------
3682
- kwargs correspond to matplotlib.collections.LineCollection properties.
3683
-
3684
- Notes
3685
- -----
3686
- .. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
3682
+ kwargs : `~matplotlib.collections.LineCollection` properties.
3687
3683
3688
3684
See also
3689
3685
--------
3690
3686
vlines : vertical lines
3687
+
3688
+ Examples
3689
+ --------
3690
+ .. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
3691
+
3691
3692
"""
3692
3693
3693
3694
# We do the conversion first since not all unitized data is uniform
@@ -3748,10 +3749,10 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
3748
3749
3749
3750
Parameters
3750
3751
----------
3751
- x : scalar or 1D array like
3752
+ x : scalar or 1D array_like
3752
3753
x-indexes where to plot the lines.
3753
3754
3754
- xmin, xmax : scalar or 1D array like
3755
+ xmin, xmax : scalar or 1D array_like
3755
3756
Respective beginning and end of each line. If scalars are
3756
3757
provided, all lines will have same length.
3757
3758
@@ -3763,20 +3764,20 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
3763
3764
3764
3765
Returns
3765
3766
-------
3766
- matplotlib.collections.LineCollection
3767
+ lines : `~ matplotlib.collections.LineCollection`
3767
3768
3768
3769
Other parameters
3769
3770
----------------
3770
- kwargs correspond to matplotlib.collections.LineCollection properties.
3771
-
3772
- Notes
3773
- -----
3774
- .. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
3771
+ kwargs : `~matplotlib.collections.LineCollection` properties.
3775
3772
3776
3773
See also
3777
3774
--------
3778
3775
hlines : horizontal lines
3779
3776
3777
+ Examples
3778
+ ---------
3779
+ .. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
3780
+
3780
3781
"""
3781
3782
3782
3783
self ._process_unit_info (xdata = x , ydata = [ymin , ymax ], kwargs = kwargs )
0 commit comments