@@ -2339,8 +2339,8 @@ def stem(self, *args, **kwargs):
2339
2339
return stem_container
2340
2340
2341
2341
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 ):
2344
2344
r"""
2345
2345
Plot a pie chart.
2346
2346
@@ -2395,7 +2395,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
2395
2395
The radius of the pie, if *radius* is *None* it will be set to 1.
2396
2396
2397
2397
*counterclock*: [ *False* | *True* ]
2398
- Specify fractions direction, clockwise or counterclockwise.
2398
+ Specify fractions direction, clockwise or counterclockwise.
2399
2399
2400
2400
The pie chart will probably look best if the figure and axes are
2401
2401
square, or the Axes aspect is equal. e.g.::
@@ -2461,8 +2461,9 @@ def pie(self, x, explode=None, labels=None, colors=None,
2461
2461
x += expl * math .cos (thetam )
2462
2462
y += expl * math .sin (thetam )
2463
2463
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 )])
2466
2467
slices .append (w )
2467
2468
self .add_patch (w )
2468
2469
w .set_label (label )
0 commit comments