In [1]:
import seaborn as sns
In [2]:
sns.set(style="ticks", color_codes=True)
iris = sns.load_dataset("iris")
iris
Out[2]:
In [3]:
#A pairplot plot a pairwise relationships in a dataset.
g = sns.pairplot(iris)
import matplotlib.pyplot as plt
plt.show()
In [4]:
g = sns.pairplot(iris, vars=["sepal_width", "sepal_length"])
In [5]:
g = sns.pairplot(iris, diag_kind="kde")