@@ -129,8 +129,7 @@ def set_title(self, label, fontdict=None, loc="center", **kwargs):
129
129
default = {
130
130
'fontsize' : rcParams ['axes.titlesize' ],
131
131
'verticalalignment' : 'baseline' ,
132
- 'horizontalalignment' : loc .lower ()
133
- }
132
+ 'horizontalalignment' : loc .lower ()}
134
133
title .set_text (label )
135
134
title .update (default )
136
135
if fontdict is not None :
@@ -455,7 +454,7 @@ def text(self, x, y, s, fontdict=None,
455
454
"""
456
455
Add text to the axes.
457
456
458
- Add text in string *s* to axis at location *x*, *y* , data
457
+ Add text in string `s` to axis at location `x`, `y` , data
459
458
coordinates.
460
459
461
460
Parameters
@@ -496,7 +495,7 @@ def text(self, x, y, s, fontdict=None,
496
495
... transform=ax.transAxes)
497
496
498
497
You can put a rectangular box around the text instance (e.g., to
499
- set a background color) by using the keyword * bbox* . * bbox* is
498
+ set a background color) by using the keyword ` bbox` . ` bbox` is
500
499
a dictionary of `~matplotlib.patches.Rectangle`
501
500
properties. For example::
502
501
@@ -506,8 +505,7 @@ def text(self, x, y, s, fontdict=None,
506
505
'verticalalignment' : 'baseline' ,
507
506
'horizontalalignment' : 'left' ,
508
507
'transform' : self .transData ,
509
- 'clip_on' : False
510
- }
508
+ 'clip_on' : False }
511
509
512
510
# At some point if we feel confident that TextWithDash
513
511
# is robust as a drop-in replacement for Text and that
@@ -803,15 +801,13 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
803
801
804
802
@docstring .dedent
805
803
def hlines (self , y , xmin , xmax , colors = 'k' , linestyles = 'solid' ,
806
- label = '' , ** kwargs ):
804
+ label = '' , ** kwargs ):
807
805
"""
808
- Plot horizontal lines.
809
-
810
806
Plot horizontal lines at each `y` from `xmin` to `xmax`.
811
807
812
808
Parameters
813
809
----------
814
- y : scalar or 1D array_like
810
+ y : scalar or sequence of scalar
815
811
y-indexes where to plot the lines.
816
812
817
813
xmin, xmax : scalar or 1D array_like
@@ -1549,10 +1545,10 @@ def acorr(self, x, **kwargs):
1549
1545
lag.
1550
1546
1551
1547
usevlines : boolean, optional, default: True
1552
- if True, Axes.vlines is used to plot the vertical lines from the origin
1553
- to the acorr. Otherwise, Axes.plot is used.
1548
+ if True, Axes.vlines is used to plot the vertical lines from the
1549
+ origin to the acorr. Otherwise, Axes.plot is used.
1554
1550
1555
- maxlags : integer, optional, default: 10
1551
+ maxlags : integer, optional, default: 10
1556
1552
number of lags to show. If None, will return all 2 * len(x) - 1
1557
1553
lags.
1558
1554
@@ -1568,7 +1564,7 @@ def acorr(self, x, **kwargs):
1568
1564
1569
1565
Other parameters
1570
1566
-----------------
1571
- linestyle : `~matplotlib.lines.Line2D` properties , optional, default: None
1567
+ linestyle : `~matplotlib.lines.Line2D` prop , optional, default: None
1572
1568
Only used if usevlines is False.
1573
1569
1574
1570
marker : string, optional, default: 'o'
@@ -1599,7 +1595,7 @@ def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
1599
1595
----------
1600
1596
1601
1597
x : sequence of scalars of length n
1602
-
1598
+
1603
1599
y : sequence of scalars of length n
1604
1600
1605
1601
hold : boolean, optional, default: True
@@ -1613,10 +1609,10 @@ def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
1613
1609
lag.
1614
1610
1615
1611
usevlines : boolean, optional, default: True
1616
- if True, Axes.vlines is used to plot the vertical lines from the origin
1617
- to the acorr. Otherwise, Axes.plot is used.
1612
+ if True, Axes.vlines is used to plot the vertical lines from the
1613
+ origin to the acorr. Otherwise, Axes.plot is used.
1618
1614
1619
- maxlags : integer, optional, default: 10
1615
+ maxlags : integer, optional, default: 10
1620
1616
number of lags to show. If None, will return all 2 * len(x) - 1
1621
1617
lags.
1622
1618
@@ -1632,7 +1628,7 @@ def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
1632
1628
1633
1629
Other parameters
1634
1630
-----------------
1635
- linestyle : `~matplotlib.lines.Line2D` properties , optional, default: None
1631
+ linestyle : `~matplotlib.lines.Line2D` prop , optional, default: None
1636
1632
Only used if usevlines is False.
1637
1633
1638
1634
marker : string, optional, default: 'o'
0 commit comments