[egenix-users] Re: [Matplotlib-users] Matplotlib (pylab) datetime incompatiblewith Egenix mxDateTime

Simon Hook simon.j.hook at jpl.nasa.gov
Sun Jul 16 17:02:59 CEST 2006


Works like a champ.

Thank you, S.

John Hunter wrote:
>>>>>> "Simon" == Simon Hook <simon.j.hook at jpl.nasa.gov> writes:
>>>>>>             
>
>     Simon> Hi, [cross posted to egenix and matplotlib]
>
>     Simon> I have been using the egenix mxDateTime module and want to
>     Simon> plot some of the dates with Matplotlib (pylab). Pylab uses
>     Simon> num2date and date2num to covert datesandtimes to floating
>     Simon> point values for plotting.  Unfortunately if you give pylab
>     Simon> date2num an egenix DateTime object, pylab bombs. Is there a
>     Simon> simple way to use egenix DateTime objects with Pylab?
>
> See matplotlib.dates.mx2num
>
> JDH
>   



More information about the egenix-users mailing list