In [ ]:
%matplotlib inline
In [ ]:
# Code source: Andrew Heusser
# License: MIT
# import
from sklearn import datasets
import hypertools as hyp
# load example data
digits = datasets.load_digits(n_class=6)
data = digits.data
hue = digits.target
# plot
hyp.plot(data, '.', hue=hue)