[Putting this back on devel]
Have you checked scikits.timeseries.lib.plotlib ? We provide some functions
that adapt the ticks to the frequency of you base series, but also according
to the range of the axes. For example, if you work with a 100-y daily
timeseries, you'll have major ticks every 5 years if you plot the whole
series, every month if you plot or zoom on one year only, etc.
it may be worthwhile to give it a try. I'd be happy to help adapting our
code to remove the dependency on scikits.timeseries if needed...
No, I hadn't seen this. And argh!, I wish I had *before* I had coded
up something that met my needs. I hate to see a duplication of effort
and would love to see more of your matplotlib extensions moved into
matplotlib itself. Having said that, I now have a patch that
accomplishes what I want and (now) keeps our unit tests passing. I've
also pretty much expended all the time I have for matplotlib
development in the short term. So if one of the other devs is
interested, awesome. But for me at this point, I can't go study yet
more code when I have something IMO ready to check in.
Graduate Research Assistant
School of Meteorology
University of Oklahoma