Bug in image.py module ?

Hello everybody,

I may have found a bug in the module image.py, class AxesImage, of
matplotlib 0.98.5.

The method 'get_interpolation' has been defined twice. The first time
it returns the attribute '_interpolation' (the right one). A few lines later,
the second definition returns the attribute '_resample' (the wrong one ?).

So, when you call 'get_interpolation' from an AxesImage instance such as
'imshow' it returns False instead of the proper interpolation scheme.

What do you think ?

bye

Eric Pellegrini