Can't there be only one color sequence in python scatter drawing using colormap?

The error prompted by

is as follows:
ValueError: c of shape (1,) not acceptable as a color sequence for x with size 1, y with size 1

the code is as follows:
X_sample = [[0jue 2]]
y_sample = clf.predict (X_sample)
print (y_sample)
plt.scatter

the y_sample predicted by knn model is [0]. This is the only sequence that keeps reporting errors. Which god can point out the errors

Mar.04,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3d7f6-43c83.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3d7f6-43c83.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?