[Tutor] Barplot order-arrangement
Charlotte Hoff Sonne
charlotte.sonne at hotmail.com
Mon Feb 12 14:10:20 EST 2018
Hi,
I have created a barplot in Python 3.6.3 on my Mac OS. Now I want to arrange the order of the bars differently. I want them to be ordered from highest to lowest - how do I do that? Furthermore, I would like the names of the bars to be vertical - how do I do that?
This is the code I have written (sns stands for seaborn):
sns.barplot(x='word',y='andelelite',data=plotpanda)
You can see a picture of my bar chart through this link: https://ibb.co/mUKVfn
More information about the Tutor
mailing list