Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#pie plot
plt.pie([x*100 for x in d_cuisine.values()],labels=[x for x in d_cuisine.keys()],autopct='%0.1f',explode=[0,0,0.1,0])
#label the plot
plt.title('Cuisine share %')
plt.savefig('C:\\Users\\Dell\\Desktop\\AV Plotting images\\matplotlib_plotting_8.png',dpi=300,bbox_inches='tight');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment