Labeling X-axis with time data

Better keep the list in the loop :wink:

路路路

On Tue, Jun 2, 2009 at 21:20, C M <cmpython@...287...> wrote:

On Tue, Jun 2, 2009 at 1:56 PM, Sandro Tosi <morph@...10...> wrote:

- x data values has to be datetime objects (so you have to convert to that)
- you have to use plot_data() instead of plot()

OP, note that is a typo for plot_date(), not plot_data().

For converting dates to numbers, also there is in matplotlib.dates
the date2num function.

--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi