DOC Fix color palette in manifold example
@@ -53,7 +53,7 @@ def plot_embedding(X, title=None):
ax = plt.subplot(111)
for i in range(X.shape[0]):
plt.text(X[i, 0], X[i, 1], str(y[i]),
- color=plt.cm.Set1(y[i] / 10.),
+ color=plt.cm.Dark2(y[i]),
fontdict={'weight': 'bold', 'size': 9})
if hasattr(offsetbox, 'AnnotationBbox'):
