假设我有一个for循环,我想绘制不同颜色的点:
for i in range(5): plt.plot(x,y,col=i)
如何在for循环中自动更改颜色?
python matplotlib
matplotlib ×1
python ×1