Fix scatter plot in PCA

14 Views Asked by At

I would like to get plot like this

enter image description here

with this code:

plt.scatter(x=proj_wine[:,0], y = proj_wine[:,1], c=Labels, edgecolor= 'none', alpha=0.5)

but the error is in the label. What should I do to fix the labels? Any suggestion about this? I hope someone can help me to solve this. I am new in python. Thank you

Expecting I would get the plot like this

enter image description here

0

There are 0 best solutions below