On Tue, May 27, 2008 at 5:08 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Tue, May 27, 2008 at 4:03 PM, C M <[EMAIL PROTECTED]> wrote: > >> John, do you know why the times are coming out as 00:00:00 in your >> example (and mine when I tried it), even though the actual times are >> specified? > > Yes, these are the locations of the ticks, not the data points. The > default tick locator tries to put the ticks on even days. If you want > the ticks to be on the data points, you need to do: > > ax.set_xticks(dates) > > Also, please respons on list since you may not be the only one with > the same question and I may not be the only one with the answer! > > JDH
Thank you, John, and I'm sorry, I thought I was replying on-list but I guess I have my mail settings set up differently than I thought. I always do intend to post to the list. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users