0

I have the following code:

fig = plt.figure()
ax = fig.add_subplot(111)
scatter = ax.scatter(data['A'],data['B'],
                     c = kmeans[0],s=50)
plt.colorbar(scatter)

And kmeans table consists of values: 0,1,2 and 3.

The plot I get goes from white - light grey - dark grey - black. How would I make it into, for example: red - green - blue - pink?

mirkap
  • 5
  • 3

0 Answers0