@@ -5017,7 +5017,8 @@ def pie(self, x, explode=None, labels=None, colors=None,
50175017 Make a pie chart of array *x*. The fractional area of each
50185018 wedge is given by x/sum(x). If sum(x) <= 1, then the values
50195019 of x give the fractional area directly and the array will not
5020- be normalized.
5020+ be normalized. The wedges are plotted counterclockwise,
5021+ by default starting from the x-axis.
50215022
50225023 Keyword arguments:
50235024
@@ -5051,7 +5052,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
50515052
50525053 *startangle*: [ *None* | Offset angle ]
50535054 If not *None*, rotates the start of the pie chart by *angle*
5054- degrees.
5055+ degrees counterclockwise from the x-axis .
50555056
50565057 The pie chart will probably look best if the figure and axes are
50575058 square. Eg.::
@@ -5097,7 +5098,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
50975098 theta1 = 0
50985099 else :
50995100 theta1 = startangle / 360.0
5100-
5101+
51015102 texts = []
51025103 slices = []
51035104 autotexts = []
@@ -5162,8 +5163,10 @@ def pie(self, x, explode=None, labels=None, colors=None,
51625163 self .set_xticks ([])
51635164 self .set_yticks ([])
51645165
5165- if autopct is None : return slices , texts
5166- else : return slices , texts , autotexts
5166+ if autopct is None :
5167+ return slices , texts
5168+ else :
5169+ return slices , texts , autotexts
51675170
51685171 @docstring .dedent_interpd
51695172 def errorbar (self , x , y , yerr = None , xerr = None ,
0 commit comments