x_dr.shape
(24261, 2)
数据其中 target有12类
N = 12
y = np.random.rand(N)
plt.scatter(x_dr[:,0],x_dr[:,1],c=y) plt.show() 报错'c' argument has 2 elements, which is not acceptable for use with 'x' with size 24261, 'y' with size 24261.
我已经将原高维度数组降维至2维数组,但是绘图时依旧需要我提供24261大小的Color值,有办法将color值设为target类型大小么?