@@ -565,8 +565,7 @@ def legend(self, *args, **kwargs):
565
565
self .legend_ ._remove_method = lambda h : setattr (self , 'legend_' , None )
566
566
return self .legend_
567
567
568
- def text (self , x , y , s , fontdict = None ,
569
- withdash = False , ** kwargs ):
568
+ def text (self , x , y , s , fontdict = None , withdash = False , ** kwargs ):
570
569
"""
571
570
Add text to the axes.
572
571
@@ -1082,9 +1081,9 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
1082
1081
return lines
1083
1082
1084
1083
@_preprocess_data (replace_names = ["positions" , "lineoffsets" ,
1085
- "linelengths" , "linewidths" ,
1086
- "colors" , "linestyles" ],
1087
- label_namer = None )
1084
+ "linelengths" , "linewidths" ,
1085
+ "colors" , "linestyles" ],
1086
+ label_namer = None )
1088
1087
@docstring .dedent_interpd
1089
1088
def eventplot (self , positions , orientation = 'horizontal' , lineoffsets = 1 ,
1090
1089
linelengths = 1 , linewidths = None , colors = None ,
@@ -1263,8 +1262,8 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
1263
1262
# ### Basic plotting
1264
1263
# The label_naming happens in `matplotlib.axes._base._plot_args`
1265
1264
@_preprocess_data (replace_names = ["x" , "y" ],
1266
- positional_parameter_names = _plot_args_replacer ,
1267
- label_namer = None )
1265
+ positional_parameter_names = _plot_args_replacer ,
1266
+ label_namer = None )
1268
1267
@docstring .dedent_interpd
1269
1268
def plot (self , * args , ** kwargs ):
1270
1269
"""
@@ -1857,10 +1856,10 @@ def step(self, x, y, *args, **kwargs):
1857
1856
return self .plot (x , y , * args , ** kwargs )
1858
1857
1859
1858
@_preprocess_data (replace_names = ["left" , "height" , "width" , "bottom" ,
1860
- "color" , "edgecolor" , "linewidth" ,
1861
- "tick_label" , "xerr" , "yerr" ,
1862
- "ecolor" ],
1863
- label_namer = None )
1859
+ "color" , "edgecolor" , "linewidth" ,
1860
+ "tick_label" , "xerr" , "yerr" ,
1861
+ "ecolor" ],
1862
+ label_namer = None )
1864
1863
@docstring .dedent_interpd
1865
1864
def bar (self , left , height , width = 0.8 , bottom = None , ** kwargs ):
1866
1865
"""
@@ -2697,7 +2696,7 @@ def get_next_color():
2697
2696
return slices , texts , autotexts
2698
2697
2699
2698
@_preprocess_data (replace_names = ["x" , "y" , "xerr" , "yerr" ],
2700
- label_namer = "y" )
2699
+ label_namer = "y" )
2701
2700
@docstring .dedent_interpd
2702
2701
def errorbar (self , x , y , yerr = None , xerr = None ,
2703
2702
fmt = '' , ecolor = None , elinewidth = None , capsize = None ,
@@ -3810,9 +3809,9 @@ def dopatch(xs, ys, **kwargs):
3810
3809
medians = medians , fliers = fliers , means = means )
3811
3810
3812
3811
@_preprocess_data (replace_names = ["x" , "y" , "s" , "linewidths" ,
3813
- "edgecolors" , "c" , 'facecolor' ,
3814
- 'facecolors' , 'color' ],
3815
- label_namer = "y" )
3812
+ "edgecolors" , "c" , 'facecolor' ,
3813
+ 'facecolors' , 'color' ],
3814
+ label_namer = "y" )
3816
3815
def scatter (self , x , y , s = None , c = None , marker = None , cmap = None , norm = None ,
3817
3816
vmin = None , vmax = None , alpha = None , linewidths = None ,
3818
3817
verts = None , edgecolors = None ,
@@ -4616,7 +4615,7 @@ def stackplot(self, x, *args, **kwargs):
4616
4615
stackplot .__doc__ = mstack .stackplot .__doc__
4617
4616
4618
4617
@_preprocess_data (replace_names = ["x" , "y" , "u" , "v" , "start_points" ],
4619
- label_namer = None )
4618
+ label_namer = None )
4620
4619
def streamplot (self , x , y , u , v , density = 1 , linewidth = None , color = None ,
4621
4620
cmap = None , norm = None , arrowsize = 1 , arrowstyle = '-|>' ,
4622
4621
minlength = 0.1 , transform = None , zorder = None ,
@@ -4716,7 +4715,7 @@ def fill(self, *args, **kwargs):
4716
4715
return patches
4717
4716
4718
4717
@_preprocess_data (replace_names = ["x" , "y1" , "y2" , "where" ],
4719
- label_namer = None )
4718
+ label_namer = None )
4720
4719
@docstring .dedent_interpd
4721
4720
def fill_between (self , x , y1 , y2 = 0 , where = None , interpolate = False ,
4722
4721
step = None ,
@@ -4885,7 +4884,7 @@ def get_interp_point(ind):
4885
4884
return collection
4886
4885
4887
4886
@_preprocess_data (replace_names = ["y" , "x1" , "x2" , "where" ],
4888
- label_namer = None )
4887
+ label_namer = None )
4889
4888
@docstring .dedent_interpd
4890
4889
def fill_betweenx (self , y , x1 , x2 = 0 , where = None ,
4891
4890
step = None , interpolate = False , ** kwargs ):
0 commit comments