Violin plot

Violin plot is a box-and-whisker diagram with a density graph rotated 90 degrees on each side. Violin plot allows comparison of the distribution of values for several groups.

import matplotlib.pyplot as plt
import seaborn as sns

df = sns.load_dataset("iris")

sns.set(rc={"figure.figsize": (12, 8)})
sns.violinplot(x=df["species"], y=df["sepal_length"])

png

Comments

(Comments will appear after approval)