import seaborn as sns iris_dataset = datasets.load_iris() X = iris_dataset.data Y = iris_dataset.target df = pd.DataFrame(X, columns=iris_dataset.feature_names) sns.pairplot(df)