I'm guessing your problem was that only the year was being shown,
On Tue, Nov 30, 2010 at 7:00 PM, C M <email@example.com
> 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 do are apparent from this sample.
> The sample is attached. The point of it is that, despite it apparently
> using my AutoDateFormatter, all the dates at all levels of zoom are %Y (e.g.
> "2010"). This is because in the AutoDateFormatter subclass, the line:
> scale = float( self._locator._get_unit() )
> is *always* returning 365.0.
> I am not bothering for now to include the business about how point-picking
> remedies my problem, because the AutoDateFormatter shouldn't need
> that--obviously, the way I am doing it is wrong, and I'd like to know what
> it is.