1sns.set(rc={"axes.facecolor":"#e6e6e6",
2 "axes.grid":False,
3 'axes.labelsize':30,
4 'figure.figsize':(20.0, 10.0),
5 'xtick.labelsize':25,
6 'ytick.labelsize':20})
7
8
9p = sns.violinplot(data=df,
10 x = 'Category',
11 y = 'Duration',
12 palette = 'spectral',
13 order = sorted(df.Category.unique()),
14 notch=True)
15plt.xticks(rotation=45)
16l = plt.xlabel('')
17plt.ylabel('Duration (min)')
18plt.text(4.85,200, "Violin Plot", fontsize = 95, color="black", fontstyle='italic')
19