📅  最后修改于: 2022-03-11 14:45:37.110000             🧑  作者: Mango
import random
# note that matplotlib requires 2d array for rbg colors
rgb = [[random.random(), random.random(), random.random()]]
plt.scatter(x, y, c=rgb)