RE: Matplotlib X-axis dates

2016-06-02 Thread Joaquin Alzola
>plt.plot(np.array(code_2001),label="2001") Simple solution: ax.plot(date_nump,np.array(code_2001),label="2001") Didn't see it until I took a rest. This email is confidential and may be subject to privilege. If you are not the intended recipient, please do not copy or disclose its content but co

Matplotlib X-axis dates

2016-06-02 Thread Joaquin Alzola
Hi Guys Have been all day looking for a solution on the x-axis and the time plot. The output that I get is this with all the dates shift to the right overlapping each other. http://postimg.org/image/fs4tx83or/ I want the x-axis to start at 0 and to finish after the 3 entries on the DB. X Axis