@@ -565,8 +565,7 @@ def legend(self, *args, **kwargs):
565565 self .legend_ ._remove_method = lambda h : setattr (self , 'legend_' , None )
566566 return self .legend_
567567
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 ):
570569 """
571570 Add text to the axes.
572571
@@ -919,8 +918,8 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
919918 self .autoscale_view (scaley = False )
920919 return p
921920
922- @_preprocess_data (replace_names = ['y' , ' xmin' , ' xmax' , ' colors' ],
923- label_namer = 'y' )
921+ @_preprocess_data (replace_names = ["y" , " xmin" , " xmax" , " colors" ],
922+ label_namer = "y" )
924923 def hlines (self , y , xmin , xmax , colors = 'k' , linestyles = 'solid' ,
925924 label = '' , ** kwargs ):
926925 """
@@ -999,8 +998,8 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
999998
1000999 return lines
10011000
1002- @_preprocess_data (replace_names = ['x' , ' ymin' , ' ymax' , ' colors' ],
1003- label_namer = 'x' )
1001+ @_preprocess_data (replace_names = ["x" , " ymin" , " ymax" , " colors" ],
1002+ label_namer = "x" )
10041003 def vlines (self , x , ymin , ymax , colors = 'k' , linestyles = 'solid' ,
10051004 label = '' , ** kwargs ):
10061005 """
@@ -1082,9 +1081,9 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
10821081 return lines
10831082
10841083 @_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 )
10881087 @docstring .dedent_interpd
10891088 def eventplot (self , positions , orientation = 'horizontal' , lineoffsets = 1 ,
10901089 linelengths = 1 , linewidths = None , colors = None ,
@@ -1263,8 +1262,8 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
12631262 # ### Basic plotting
12641263 # The label_naming happens in `matplotlib.axes._base._plot_args`
12651264 @_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 )
12681267 @docstring .dedent_interpd
12691268 def plot (self , * args , ** kwargs ):
12701269 """
@@ -1857,10 +1856,10 @@ def step(self, x, y, *args, **kwargs):
18571856 return self .plot (x , y , * args , ** kwargs )
18581857
18591858 @_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 )
18641863 @docstring .dedent_interpd
18651864 def bar (self , left , height , width = 0.8 , bottom = None , ** kwargs ):
18661865 """
@@ -2468,7 +2467,7 @@ def stem(self, *args, **kwargs):
24682467
24692468 return stem_container
24702469
2471- @_preprocess_data (replace_names = ['x' , ' explode' , ' labels' , ' colors' ],
2470+ @_preprocess_data (replace_names = ["x" , " explode" , " labels" , " colors" ],
24722471 label_namer = None )
24732472 def pie (self , x , explode = None , labels = None , colors = None ,
24742473 autopct = None , pctdistance = 0.6 , shadow = False , labeldistance = 1.1 ,
@@ -2697,7 +2696,7 @@ def get_next_color():
26972696 return slices , texts , autotexts
26982697
26992698 @_preprocess_data (replace_names = ["x" , "y" , "xerr" , "yerr" ],
2700- label_namer = "y" )
2699+ label_namer = "y" )
27012700 @docstring .dedent_interpd
27022701 def errorbar (self , x , y , yerr = None , xerr = None ,
27032702 fmt = '' , ecolor = None , elinewidth = None , capsize = None ,
@@ -3810,9 +3809,9 @@ def dopatch(xs, ys, **kwargs):
38103809 medians = medians , fliers = fliers , means = means )
38113810
38123811 @_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" )
38163815 def scatter (self , x , y , s = None , c = None , marker = None , cmap = None , norm = None ,
38173816 vmin = None , vmax = None , alpha = None , linewidths = None ,
38183817 verts = None , edgecolors = None ,
@@ -4616,7 +4615,7 @@ def stackplot(self, x, *args, **kwargs):
46164615 stackplot .__doc__ = mstack .stackplot .__doc__
46174616
46184617 @_preprocess_data (replace_names = ["x" , "y" , "u" , "v" , "start_points" ],
4619- label_namer = None )
4618+ label_namer = None )
46204619 def streamplot (self , x , y , u , v , density = 1 , linewidth = None , color = None ,
46214620 cmap = None , norm = None , arrowsize = 1 , arrowstyle = '-|>' ,
46224621 minlength = 0.1 , transform = None , zorder = None ,
@@ -4716,7 +4715,7 @@ def fill(self, *args, **kwargs):
47164715 return patches
47174716
47184717 @_preprocess_data (replace_names = ["x" , "y1" , "y2" , "where" ],
4719- label_namer = None )
4718+ label_namer = None )
47204719 @docstring .dedent_interpd
47214720 def fill_between (self , x , y1 , y2 = 0 , where = None , interpolate = False ,
47224721 step = None ,
@@ -4885,7 +4884,7 @@ def get_interp_point(ind):
48854884 return collection
48864885
48874886 @_preprocess_data (replace_names = ["y" , "x1" , "x2" , "where" ],
4888- label_namer = None )
4887+ label_namer = None )
48894888 @docstring .dedent_interpd
48904889 def fill_betweenx (self , y , x1 , x2 = 0 , where = None ,
48914890 step = None , interpolate = False , ** kwargs ):
0 commit comments