Hi Shankar, Shankararaman Ramakrishnan, on 2012-01-26 18:24, wrote: > I have been trying to leverage plot_date() to generate time trends. I > seem to run into the following runtime error and don't have much > insight as to why this is happening. Specifically, I don't quite see why > the function is attempting to set the lower bound to 0001-01-01 UTC when > my x-axis starts only from day number 729390.
I suspect this may be the case because you've already plotted something on this axis that resolves to this early date. For example, I can reproduce an error similar to yours by first doing plot(1,0) before the plot_date call. Can you try to create a new figure just before the call to plot_date? best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users