text_plain_output_1.png
from sklearn import datasets

import matplotlib.pyplot as plt

import seaborn as sns

from sklearn import datasets
iris = datasets.load_iris()
list(iris.keys())

X = iris.data[:, 2:]
y = iris.target

iris = sns.load_dataset('iris')
sns.set_style('whitegrid')
sns.FacetGrid(iris, hue='species', height=6).map(plt.scatter, 'petal_width', 'petal_length').add_legend()

iris.head()