@@ -3660,10 +3660,10 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
36603660
36613661 Parameters
36623662 ----------
3663- y : scalar or 1D array like
3663+ y : scalar or 1D array_like
36643664 y-indexes where to plot the lines.
36653665
3666- xmin, xmax : scalar or 1D array like
3666+ xmin, xmax : scalar or 1D array_like
36673667 Respective beginning and end of each line. If scalars are
36683668 provided, all lines will have same length.
36693669
@@ -3675,19 +3675,20 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
36753675
36763676 Returns
36773677 -------
3678- matplotlib.collections.LineCollection
3678+ lines : `~ matplotlib.collections.LineCollection`
36793679
36803680 Other parameters
36813681 ----------------
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.
36873683
36883684 See also
36893685 --------
36903686 vlines : vertical lines
3687+
3688+ Examples
3689+ --------
3690+ .. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
3691+
36913692 """
36923693
36933694 # 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',
37483749
37493750 Parameters
37503751 ----------
3751- x : scalar or 1D array like
3752+ x : scalar or 1D array_like
37523753 x-indexes where to plot the lines.
37533754
3754- xmin, xmax : scalar or 1D array like
3755+ xmin, xmax : scalar or 1D array_like
37553756 Respective beginning and end of each line. If scalars are
37563757 provided, all lines will have same length.
37573758
@@ -3763,20 +3764,20 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
37633764
37643765 Returns
37653766 -------
3766- matplotlib.collections.LineCollection
3767+ lines : `~ matplotlib.collections.LineCollection`
37673768
37683769 Other parameters
37693770 ----------------
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.
37753772
37763773 See also
37773774 --------
37783775 hlines : horizontal lines
37793776
3777+ Examples
3778+ ---------
3779+ .. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
3780+
37803781 """
37813782
37823783 self ._process_unit_info (xdata = x , ydata = [ymin , ymax ], kwargs = kwargs )
0 commit comments