I created a long violin plot (just for fun) using seaborn
, the top of which looks like this:
I would like to sort these violins by their median. Is this possible?
The code:
sns.set(font_scale=2.5)
f, ax = plt.subplots(figsize=(22, 66))
sns.violinplot(x=inspect['SCORE'], y=inspect['CUISINE DESCRIPTION'])
Aucun commentaire:
Enregistrer un commentaire