You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Correct, rotatelabels was implemented in #8217 which is currently on the master branch, is not in the 2.0.x series, and will be included in the upcoming 2.1 release.
If you want this feature now please install from master.
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....
Actual outcome
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
The text was updated successfully, but these errors were encountered: