28
loading...
This website collects cookies to deliver better user experience
import seaborn
import matplotlib.pyplot as pyplot
seaborn.scatterplot(data = df, x = 'col1' y = 'col2')
pyplot.show()
sns.lineplot(data=df, x="year", y="passengers")
sns.barplot(x="tips", y="day", data=df)
seaborn.histplot(data, x="distance")
seaborn.boxplot(data, x = "day", y = "total bill")
seaborn.violinplot(data, x = 'cat_var', y = 'num_var')
seaborn.pairplot(df, hue = 'species')
import matplotlib.pyplot as pyplot
import seaborn
fig = pyplot.figure(figsize= (12,5))
pyplot.subplot(1,3,1)
seaborn.violinplot(data = df, x = 'a', y = 'x')
pyplot.subplot(1,3,2)
seaborn.violinplot(data = df, x = 'b', y = 'y')
pyplot.subplot(1,3,3)
seaborn.violinplot(data = df, x = 'c', y = 'z')