Matplotlib (pylab) datetime incompatible with Egenix mxDateTime

Hi, [cross posted to egenix and matplotlib]

    > I have been using the egenix mxDateTime module and want to
    > plot some of the dates with Matplotlib (pylab). Pylab uses
    > num2date and date2num to covert datesandtimes to floating
    > point values for plotting. Unfortunately if you give pylab
    > date2num an egenix DateTime object, pylab bombs. Is there a
    > simple way to use egenix DateTime objects with Pylab?

See matplotlib.dates.mx2num

JDH

Works like a champ.

Thank you, S.

John Hunter wrote:

···

            
    > Hi, [cross posted to egenix and matplotlib]

    > I have been using the egenix mxDateTime module and want to
    > plot some of the dates with Matplotlib (pylab). Pylab uses
    > num2date and date2num to covert datesandtimes to floating
    > point values for plotting. Unfortunately if you give pylab
    > date2num an egenix DateTime object, pylab bombs. Is there a
    > simple way to use egenix DateTime objects with Pylab?

See matplotlib.dates.mx2num

JDH