The color configuration of python's scatter

Just as an operation record, please skip it.

I want to change the marked points in the picture from blue to red

Insert picture description here

c='r'Ready to use

plt.scatter(np.multiply(10,p),y[p],c='r')

Insert picture description here


Reference Portal

Guess you like

Origin blog.csdn.net/weixin_41529093/article/details/109179612