svn revision number


I was wondering whether there is an easy way to find out the svn revision number of matplotlib in python. I tried:

In [2]: matplotlib.__revision__
Out[2]: '$Revision: 6887 $'

but this isn't actually the current revision number, I have upgraded to 7096 (I'm suspecting that 6887 is the revision number for

I know it's probably unlikely that it's possible to find out the exact revision, but just wanted to check just in case!