To build this curve I do the following :
MyPlot.plot(MyMatrix[MyMatrix["Date"]<=today]['Date'],MyMatrix[MyMatrix["Date"]<=today]['Y'], color="red")
MyPlot.plot(MyMatrix[MyMatrix["Date"]>=today]['Date'],MyMatrix[MyMatrix["Date"]>=today]['Y'], color="blue")
Does a way exist to not have a blank space between it ?
What I do Have :
What I Would Like to have :
>Solution :
This is my idea: adding to the blue line the last element of the red line:
#take the maximum x value for MyMatrix["Date"]<=todaythe red line
last_x =max(MyMatrix[MyMatrix["Date"]<=today]['Date'])
#plot starting from the last "red" sample
MyPlot.plot(MyMatrix[MyMatrix["Date"]>=last_x]['Date'],
MyMatrix[MyMatrix["Date"]>=last_x]['Y'], color="blue")
Edited

