Skip to content

Instantly share code, notes, and snippets.

@moyocoyani
Created December 4, 2020 00:12
Show Gist options
  • Save moyocoyani/832c57ad030400d79a74a55236217c04 to your computer and use it in GitHub Desktop.
Save moyocoyani/832c57ad030400d79a74a55236217c04 to your computer and use it in GitHub Desktop.
import seaborn as sns
#Dataset
tips = sns.load_dataset("tips")
#Plot----------------
#Canvas
fig,ax = plt.subplots(1,1,figsize=(13,7.5),dpi=100)
#Chart
sns.violinplot(x="day", y="total_bill", data=tips,ax=ax)
#Attributes
ax.set_axisbelow(True)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment