0
To add percent of each slice. We write autopct='%1.1f%%'.. What is autopct actually and what is %1.1f%%
Python . Matplotlib. Pie Chart related query. Following is the code: https://code.sololearn.com/c19b4VKk2BZI/?ref=app
2 Answers
+ 1
It is used to take float values up-to tenth place after decimal as percentage for pie chart it is generally form of formatted string
0
can we write %1f%% instead of %1.1f%%