Bug in image.py module ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug in image.py module ?

pellegrini-2
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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-announce mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-announce