I have the following x,y scatter points with numpy
a = np.array([
[5.033,-3.066],
[5.454,-3.492],
[-1.971,0.384],
],)
x, y = a.T
plt.scatter(x, y)
plt.ylabel('Yv')
plt.show()
And I would like to draw points with color. I mean, something like this:
a = np.array([
[5.033,-3.066] and color="black",
[5.454,-3.492] and color="black",
[-1.971,0.384] and color="red",
],)
How can I do that? I see a colormap discussed here, but don't know if that really fits my need.

