<jupyter_start><jupyter_text>---title: "Violin Plot"author: "Sanjay"date: 2020-09-05description: "-"type: technical_notedraft: false---<jupyter_code># Importing the Matplotlib and Seaborn library
import matplotlib.pyplot as plt 
import seaborn as sns 
# Load the in-built dataset and printing it out
df = sns.load_dataset('tips') 
print(df)
# Set the background style of the plot 
sns.set_style('whitegrid') 
# Plotting Violin plot with Seaborn 
sns.violinplot(x ='day', y ='total_bill', data = df, hue ='sex', split = True)
  
# Function to show the plot 
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12060301507537688, 'fraction_numerical': 0.01340033500837521, 'mean_word_length': 5.361702127659575, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '168491', 'license': 'MIT', 'n_tokens_mistral': 226, 'n_tokens_neox': 217, 'n_words': 62, 'path': 'docs/python/seaborn/Violin-Plot.ipynb', 'repo_name': 'Sanjay-V/mlnotes', 'size': '597'}