Skip to content

Instantly share code, notes, and snippets.

@dipanjanS
Created January 10, 2018 18:45
Show Gist options
  • Save dipanjanS/533fe58b727141df0134bb3e0f753ed7 to your computer and use it in GitHub Desktop.
Save dipanjanS/533fe58b727141df0134bb3e0f753ed7 to your computer and use it in GitHub Desktop.
# Violin Plots
f, (ax) = plt.subplots(1, 1, figsize=(12, 4))
f.suptitle('Wine Quality - Sulphates Content', fontsize=14)
sns.violinplot(x="quality", y="sulphates", data=wines, ax=ax)
ax.set_xlabel("Wine Quality",size = 12,alpha=0.8)
ax.set_ylabel("Wine Sulphates",size = 12,alpha=0.8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment