I am trying to change the color of a serie when the X Date axis > TODAY. Fact is that I don't know how to do it so :
I Know how to segment the curve like that :
inxval = mdates.date2num(DatesArray)
points = np.array([inxval, ValueArray]).T.reshape(-1,1,2)
segments = np.concatenate([points[:-1],points[1:]], axis=1)
But I don't know how to do the same with a condition