In [1]:
%matplotlib inline
import seaborn as sns
import matplotlib.pyplot as plt
sns.set(style="ticks")
df = sns.load_dataset("iris")
sns.pairplot(df, hue="species")
Out[1]:
In [2]:
ax = sns.boxplot(x="species", y="petal_width", data=df)
In [3]:
sns.distplot(df.petal_width)
Out[3]:
In [4]:
sns.jointplot(x="petal_width", y="petal_length", data=df)
Out[4]: