|
From: Sandro T. <mo...@de...> - 2009-06-02 19:29:01
|
Better keep the list in the loop ;) On Tue, Jun 2, 2009 at 21:20, C M <cmp...@gm...> wrote: > On Tue, Jun 2, 2009 at 1:56 PM, Sandro Tosi <mo...@de...> 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 |