Re: [Matplotlib-users] subclassing AutoDateFormatter correctly

2010-12-01 Thread C M
On Wed, Dec 1, 2010 at 12:28 AM, Ryan May wrote: > On Tue, Nov 30, 2010 at 7:00 PM, C M wrote: > > Thanks, Ryan. I've done that now. I use the OOP approach to matplotlib > and > > embed it in wxPython, so my example uses that. I did not know how to > apply > > an AutoDateFormatter to an axis

Re: [Matplotlib-users] subclassing AutoDateFormatter correctly

2010-11-30 Thread Ryan May
On Tue, Nov 30, 2010 at 7:00 PM, C M wrote: > Thanks, Ryan.  I've done that now.  I use the OOP approach to matplotlib and > embed it in wxPython, so my example uses that.  I did not know how to apply > an AutoDateFormatter to an axis if using pylab and figured the basics of > what I am trying to

Re: [Matplotlib-users] subclassing AutoDateFormatter correctly

2010-11-30 Thread C M
On Tue, Nov 30, 2010 at 12:23 PM, Ryan May wrote: > On Tue, Nov 30, 2010 at 10:44 AM, C M wrote: > > > > > > On Sun, Nov 28, 2010 at 8:52 PM, C M wrote: > >> > >> How can I correctly subclass AutoDateFormatter and use it in my code? > >> > >> What I am doing is copying the code from matplotlib'

Re: [Matplotlib-users] subclassing AutoDateFormatter correctly

2010-11-30 Thread Ryan May
On Tue, Nov 30, 2010 at 10:44 AM, C M wrote: > > > On Sun, Nov 28, 2010 at 8:52 PM, C M wrote: >> >> How can I correctly subclass AutoDateFormatter and use it in my code? >> >> What I am doing is copying the code from matplotlib's AutoDateFormatter >> and changing the strings for how the dates ar

Re: [Matplotlib-users] subclassing AutoDateFormatter correctly

2010-11-30 Thread C M
On Sun, Nov 28, 2010 at 8:52 PM, C M wrote: > How can I correctly subclass AutoDateFormatter and use it in my code? > > What I am doing is copying the code from matplotlib's AutoDateFormatter and > changing the strings for how the dates are represented and making that a > class, MyAutoDateFormatt

[Matplotlib-users] subclassing AutoDateFormatter correctly

2010-11-28 Thread C M
How can I correctly subclass AutoDateFormatter and use it in my code? What I am doing is copying the code from matplotlib's AutoDateFormatter and changing the strings for how the dates are represented and making that a class, MyAutoDateFormatter. AutoDateFormatter expects a locator, and I think (