@@ -3667,25 +3667,27 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
3667
3667
Respective beginning and end of each line. If scalars are
3668
3668
provided, all lines will have same length.
3669
3669
3670
- colors : a line collections color argument, either a single color
3671
- or a list of colors
3670
+ colors : array_like of colors, optional, default: 'k'
3672
3671
3673
- linestyles : ['solid' | 'dashed' | 'dashdot' | 'dotted'], optional,
3674
- default : 'solid'
3672
+ linestyles : ['solid' | 'dashed' | 'dashdot' | 'dotted'], optional
3675
3673
3676
3674
label : string, optional, default: ''
3677
3675
3678
3676
Returns
3679
3677
-------
3680
- :class:`~ matplotlib.collections.LineCollection`
3678
+ matplotlib.collections.LineCollection
3681
3679
3682
- Example
3683
- --------
3680
+ Other parameters
3681
+ ----------------
3682
+ kwargs correspond to matplotlib.collections.LineCollection properties.
3683
+
3684
+ Notes
3685
+ -----
3684
3686
.. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
3685
3687
3686
3688
See also
3687
3689
--------
3688
- vlines : horizontal lines
3690
+ vlines : vertical lines
3689
3691
"""
3690
3692
3691
3693
# We do the conversion first since not all unitized data is uniform
@@ -3753,20 +3755,22 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
3753
3755
Respective beginning and end of each line. If scalars are
3754
3756
provided, all lines will have same length.
3755
3757
3756
- colors : a line collections color argument, either a single color
3757
- or a list of colors
3758
+ colors : array_like of colors, optional, default: 'k'
3758
3759
3759
- linestyles : ['solid' | 'dashed' | 'dashdot' | 'dotted'], optional,
3760
- default : 'solid'
3760
+ linestyles : ['solid' | 'dashed' | 'dashdot' | 'dotted'], optional
3761
3761
3762
3762
label : string, optional, default: ''
3763
3763
3764
3764
Returns
3765
3765
-------
3766
- :class:`~ matplotlib.collections.LineCollection`
3766
+ matplotlib.collections.LineCollection
3767
3767
3768
- Example
3769
- -------
3768
+ Other parameters
3769
+ ----------------
3770
+ kwargs correspond to matplotlib.collections.LineCollection properties.
3771
+
3772
+ Notes
3773
+ -----
3770
3774
.. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
3771
3775
3772
3776
See also
0 commit comments