Resolved: 'rotation' : '30' is showing error
in
The Complete Data Visualization Course with Python, R, Tableau, and Excel
/
Pie Chart - Python - How to Create a Pie Chart
Before adding the code 'rotation' : '30' it was working fine but after adding that it is showing error.

1 answers ( 1 marked as helpful)
This should be a number (30) instead of a string ('30') :
textprops = {'size' : 'x-large' ,
'fontweight' : 'bold' ,
'rotation' : 30}