@@ -137,7 +137,6 @@ def get_title(self, loc="center"):
137
137
raise ValueError ("'%s' is not a valid location" % loc )
138
138
return title .get_text ()
139
139
140
- @docstring .dedent_interpd
141
140
def set_title (self , label , fontdict = None , loc = "center" , ** kwargs ):
142
141
"""
143
142
Set a title for the axes.
@@ -200,7 +199,6 @@ def get_xlabel(self):
200
199
label = self .xaxis .get_label ()
201
200
return label .get_text ()
202
201
203
- @docstring .dedent_interpd
204
202
def set_xlabel (self , xlabel , fontdict = None , labelpad = None , ** kwargs ):
205
203
"""
206
204
Set the label for the xaxis.
@@ -232,7 +230,6 @@ def get_ylabel(self):
232
230
label = self .yaxis .get_label ()
233
231
return label .get_text ()
234
232
235
- @docstring .dedent_interpd
236
233
def set_ylabel (self , ylabel , fontdict = None , labelpad = None , ** kwargs ):
237
234
"""
238
235
Set the label for the yaxis
@@ -857,7 +854,6 @@ def axhspan(self, ymin, ymax, xmin=0, xmax=1, **kwargs):
857
854
self .autoscale_view (scalex = False )
858
855
return p
859
856
860
- @docstring .dedent_interpd
861
857
def axvspan (self , xmin , xmax , ymin = 0 , ymax = 1 , ** kwargs ):
862
858
"""
863
859
Add a vertical span (rectangle) across the axes.
@@ -924,7 +920,6 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
924
920
return p
925
921
926
922
@_preprocess_data (replace_names = ['y' , 'xmin' , 'xmax' ], label_namer = "y" )
927
- @docstring .dedent
928
923
def hlines (self , y , xmin , xmax , colors = 'k' , linestyles = 'solid' ,
929
924
label = '' , ** kwargs ):
930
925
"""
@@ -1004,7 +999,6 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
1004
999
1005
1000
@_preprocess_data (replace_names = ["x" , "ymin" , "ymax" , "colors" ],
1006
1001
label_namer = "x" )
1007
- @docstring .dedent_interpd
1008
1002
def vlines (self , x , ymin , ymax , colors = 'k' , linestyles = 'solid' ,
1009
1003
label = '' , ** kwargs ):
1010
1004
"""
@@ -1670,7 +1664,6 @@ def semilogy(self, *args, **kwargs):
1670
1664
return l
1671
1665
1672
1666
@_preprocess_data (replace_names = ["x" ], label_namer = "x" )
1673
- @docstring .dedent_interpd
1674
1667
def acorr (self , x , ** kwargs ):
1675
1668
"""
1676
1669
Plot the autocorrelation of `x`.
@@ -1732,7 +1725,6 @@ def acorr(self, x, **kwargs):
1732
1725
return self .xcorr (x , x , ** kwargs )
1733
1726
1734
1727
@_preprocess_data (replace_names = ["x" , "y" ], label_namer = "y" )
1735
- @docstring .dedent_interpd
1736
1728
def xcorr (self , x , y , normed = True , detrend = mlab .detrend_none ,
1737
1729
usevlines = True , maxlags = 10 , ** kwargs ):
1738
1730
"""
@@ -3844,7 +3836,6 @@ def dopatch(xs, ys, **kwargs):
3844
3836
"edgecolors" , "c" , 'facecolor' ,
3845
3837
'facecolors' , 'color' ],
3846
3838
label_namer = "y" )
3847
- @docstring .dedent_interpd
3848
3839
def scatter (self , x , y , s = None , c = None , marker = None , cmap = None , norm = None ,
3849
3840
vmin = None , vmax = None , alpha = None , linewidths = None ,
3850
3841
verts = None , edgecolors = None ,
@@ -4677,8 +4668,7 @@ def barbs(self, *args, **kw):
4677
4668
return b
4678
4669
4679
4670
@_preprocess_data (replace_names = ["x" , "y" ], label_namer = None ,
4680
- positional_parameter_names = ["x" , "y" , "c" ])
4681
- @docstring .dedent_interpd
4671
+ positional_parameter_names = ["x" , "y" , "c" ])
4682
4672
def fill (self , * args , ** kwargs ):
4683
4673
"""
4684
4674
Plot filled polygons.
@@ -5029,7 +5019,6 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
5029
5019
5030
5020
#### plotting z(x,y): imshow, pcolor and relatives, contour
5031
5021
@_preprocess_data (label_namer = None )
5032
- @docstring .dedent_interpd
5033
5022
def imshow (self , X , cmap = None , norm = None , aspect = None ,
5034
5023
interpolation = None , alpha = None , vmin = None , vmax = None ,
5035
5024
origin = None , extent = None , shape = None , filternorm = 1 ,
@@ -5909,7 +5898,6 @@ def table(self, **kwargs):
5909
5898
#### Data analysis
5910
5899
5911
5900
@_preprocess_data (replace_names = ["x" , 'weights' ], label_namer = "x" )
5912
- @docstring .dedent_interpd
5913
5901
def hist (self , x , bins = None , range = None , normed = False , weights = None ,
5914
5902
cumulative = False , bottom = None , histtype = 'bar' , align = 'mid' ,
5915
5903
orientation = 'vertical' , rwidth = None , log = False ,
@@ -6474,7 +6462,6 @@ def _normalize_input(inp, ename='input'):
6474
6462
return n , bins , cbook .silent_list ('Lists of Patches' , patches )
6475
6463
6476
6464
@_preprocess_data (replace_names = ["x" , "y" , "weights" ], label_namer = None )
6477
- @docstring .dedent_interpd
6478
6465
def hist2d (self , x , y , bins = 10 , range = None , normed = False , weights = None ,
6479
6466
cmin = None , cmax = None , ** kwargs ):
6480
6467
"""
0 commit comments