I have 2 lists:
losses = [12,13,15,10,9,8]
dots = [1,0,0,1,0,0]
How can I plot the main line from the losses
list, and wherever there's a 1
in the dots
list have a dot on that line?
I currently have something like this (note that it's 2 different lists from the above example so the values are a bit different)
plt.plot(losses, c = 'b')
plt.plot(dots, c='r');
But I'm not sure how to make only dots on the main line