pyplot tracks current image at the figure and axes level;
fixes ticket 1656374
Authored by: efiring 2009-08-15
Parent: [r7493]
Child: [r7495]