@@ -368,7 +368,7 @@ An example docstring looks like:
368
368
369
369
.. code-block :: python
370
370
371
- def hlines (self , y , xmin , xmax , colors = ' k ' , linestyles = ' solid' ,
371
+ def hlines (self , y , xmin , xmax , colors = None , linestyles = ' solid' ,
372
372
label = ' ' , ** kwargs ):
373
373
"""
374
374
Plot horizontal lines at each *y* from *xmin* to *xmax*.
@@ -382,24 +382,26 @@ An example docstring looks like:
382
382
Respective beginning and end of each line. If scalars are
383
383
provided, all lines will have the same length.
384
384
385
- colors : array-like of colors, default: 'k'
385
+ colors : list of colors, default: :rc:`lines.color`
386
386
387
- linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, default: 'solid'
387
+ linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, optional
388
388
389
389
label : str, default: ''
390
390
391
391
Returns
392
392
-------
393
- lines : `~matplotlib.collections.LineCollection`
393
+ `~matplotlib.collections.LineCollection`
394
394
395
395
Other Parameters
396
396
----------------
397
- **kwargs : `~matplotlib.collections.LineCollection` properties
397
+ data : indexable object, optional
398
+ DATA_PARAMETER_PLACEHOLDER
399
+ **kwargs : `~matplotlib.collections.LineCollection` properties.
398
400
399
- See also
401
+ See Also
400
402
--------
401
403
vlines : vertical lines
402
- axhline: horizontal line across the axes
404
+ axhline : horizontal line across the Axes
403
405
"""
404
406
405
407
See the `~.Axes.hlines ` documentation for how this renders.
@@ -566,10 +568,10 @@ effect.
566
568
Sphinx automatically links code elements in the definition blocks of ``See
567
569
also `` sections. No need to use backticks there::
568
570
569
- See also
571
+ See Also
570
572
--------
571
573
vlines : vertical lines
572
- axhline: horizontal line across the axes
574
+ axhline : horizontal line across the Axes
573
575
574
576
Wrapping parameter lists
575
577
~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments