@@ -2339,8 +2339,8 @@ def stem(self, *args, **kwargs):
23392339 return stem_container
23402340
23412341 def pie (self , x , explode = None , labels = None , colors = None ,
2342- autopct = None , pctdistance = 0.6 , shadow = False ,
2343- labeldistance = 1.1 , startangle = None , radius = None , counterclock = True ):
2342+ autopct = None , pctdistance = 0.6 , shadow = False , labeldistance = 1.1 ,
2343+ startangle = None , radius = None , counterclock = True ):
23442344 r"""
23452345 Plot a pie chart.
23462346
@@ -2395,7 +2395,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
23952395 The radius of the pie, if *radius* is *None* it will be set to 1.
23962396
23972397 *counterclock*: [ *False* | *True* ]
2398- Specify fractions direction, clockwise or counterclockwise.
2398+ Specify fractions direction, clockwise or counterclockwise.
23992399
24002400 The pie chart will probably look best if the figure and axes are
24012401 square, or the Axes aspect is equal. e.g.::
@@ -2461,8 +2461,9 @@ def pie(self, x, explode=None, labels=None, colors=None,
24612461 x += expl * math .cos (thetam )
24622462 y += expl * math .sin (thetam )
24632463
2464- w = mpatches .Wedge ((x , y ), radius , 360. * min (theta1 , theta2 ), 360. * max (theta1 , theta2 ),
2465- facecolor = colors [i % len (colors )])
2464+ w = mpatches .Wedge ((x , y ), radius , 360. * min (theta1 , theta2 ),
2465+ 360. * max (theta1 , theta2 ),
2466+ facecolor = colors [i % len (colors )])
24662467 slices .append (w )
24672468 self .add_patch (w )
24682469 w .set_label (label )
0 commit comments