On 7/18/07, Tom Haddon <[EMAIL PROTECTED]> wrote:
> I think you mean it makes no assumption about the intervals between my
> dates? If so, I must be missing something. How am I supposed to pass the
> data to the plot_date function? If I pass it in as integers from epoch I
> get an error saying "year is out of range". If I pass it in as datetime
> objects I get an error saying "TypeError: float is required".
> m +1.415.871.4180
> www.greenleaftech.net

Use the function matplotlib.dates.epoch2num to convert your epoch data
into the mpl date format.  That or use "plot" with native python
datetime obects in the latest mpl release.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to