automatic date formatting of axes

http://pastebin.com/f7fba9f61

I wrote this little snippet to automatically format the X axis of a line
plot I created with a dynamic range. It's not completely 100% perfect, but I
thought Id just post this here is anyone wants to use it, or maybe even
knows of another method to create the same effect more easily.

here are some examples:

http://yfrog.com/htnonemptyusersp
http://yfrog.com/htnoratespikesp
http://yfrog.com/0p96192768p

···

--
View this message in context: http://old.nabble.com/automatic-date-formatting-of-axes-tp27247612p27247612.html
Sent from the matplotlib - users mailing list archive at Nabble.com.