Python source code: [download source: scatterplot_matrix.py]
[download source: scatterplot_matrix.py]
import seaborn as sns sns.set(style="ticks") df = sns.load_dataset("iris") sns.pairplot(df, hue="species")