On Wed, May 28, 2008 at 10:17 AM, Margherita Vittone wiersma <[EMAIL PROTECTED]> wrote:
> thank for your reply; i made a typo when i cut and paste my example which was > longer and i just trimmed it down to email it. So even with the correct > formatter defined, > on the plot i only see 00:00:00 for the time portion of the label Well that is a different problem. In your original post you wrote "I don't see the time portion of it, just the date" so I misunderstood your problem. With 00:00:00, you are seing the time portion of the *tick locations*. As I wrote in a previous post, you are seeing the format strings for 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) to put ticks explicitly where you want them. JDH ------------------------------------------------------------------------- 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