Description
Bug summary
pyplot.pie doesn't have rotatelabels, the code seems to be not include into release 2.0.2
In docs, it says, that there is the property:
http://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.pie.html
I checked the code in this repo and the rotatelabels is there
https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/axes/_axes.py
The #2304 seems to say that this improvement was already done years ago.
Code for reproduction
But when I run the code below with the matplotlib from all 2.0.2 I've found....
>import matplotlib.pyplot as plt
>l= ['a','b','c']; d = [30,60,10]
>plt.pie(d, labels=l, rotatelabels=True)
Actual outcome
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: pie() got an unexpected keyword argument 'rotatelabels'
Expected outcome
I think that rotatelabels of pie chart is a nice thing, when you have a lot of properties and you want to show them all the labels overlaps themselves. rotating them would display clearer, I guess
I checked the source code from 2.0.2 release of this repo and there is no rotatelabels in there
Matplotlib version
- python 3.4, matplotlib 2.0.2 windows10
- installed from source and from pip