Created
March 12, 2020 17:40
-
-
Save aniruddha27/80df820a42d82be81401e161d2f9ea2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#plotting boxplot | |
plt.boxplot([x for x in c_price.values()],labels=[x for x in c_price.keys()]) | |
#x and y-axis labels | |
plt.xlabel('Cuisine') | |
plt.ylabel('Price') | |
#plot title | |
plt.title('Analysing cuisine price') | |
#save and display | |
plt.savefig('C:\\Users\\Dell\\Desktop\\AV Plotting images\\matplotlib_plotting_9.png',dpi=300,bbox_inches='tight') | |
plt.show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment