Документация - https://seaborn.pydata.org/generated/seaborn.violinplot.html
df = sns.load_dataset("titanic")
sns.violinplot(x=df["age"])
#sns.violinplot(data=df, x="age", y="class")
#sns.violinplot(data=df, x="class", y="age", hue="alive")
Комментариев нет:
Отправить комментарий