How to obtain the color used by plt.plot after calling it? I dont want to specify the color in advance.
def plotStuff():
lines = plt.plot(np.random.rand(500))
color = lines.magic_thing_get_color
plt.plot(np.random.rand(500),color = color,label = "_nolegend_" )
So calling plotStuff twice would use one color to plot 2 things the first time and a different color when calling it the second time.