#!/usr/bin/env python
# coding: utf-8
# In[ ]:
pip install seaborn
# # Violin Plot using Python
# In[9]:
import seaborn as sns
import matplotlib.pyplot as plt
data = sns.load_dataset("tips")
plt.figure(figsize=(10, 4))
sns.violinplot(x=data["total_bill"])
plt.show()
#clcoding.com
# In[6]:
# In[ ]:
0 Comments:
Post a Comment