I want to color points uniquely only if there is a difference between the x & y values (e.g. abs(x - y) > 10).
How can I do that?
num = 1000
x = np.linspace(0,100, num = num)
y = np.random.normal(size = num)
plt.scatter(x, y, c='r', edgecolors='black')
plt.gca().spines['right'].set_color('none')
plt.gca().spines['top'].set_color('none')
plt.show()
