different colours and alpha values based on array values

后端 未结 0 1127
心在旅途
心在旅途 2020-12-03 04:50

I have arrays similar to the following:

a_1 = [2]
v_1 = [6,7,8,9]
plt.scatter(np.tile(a_1[0],4), v_1, color=\'r\', alpha=0.5)

Here, I would l

相关标签:
回答
  • 消灭零回复
提交回复
热议问题