Update to be compatible with matplotlib trunk's new method of tracking the current image.
Authored by: ryanmay 2009-09-28
Parent: [r7832]
Child: [r7834]