Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 400328b

Browse files
committed
Merged revisions 8837 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8837 | mdboom | 2010-12-14 10:54:03 -0500 (Tue, 14 Dec 2010) | 2 lines NonUniformImage only supports nearest and bilinear interpolation, so if the user passes something else, an exception should be raised. ........ svn path=/trunk/matplotlib/; revision=8838
1 parent 797bb55 commit 400328b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ def __init__(self, ax, **kwargs):
659659
interp = kwargs.pop('interpolation', 'nearest')
660660
AxesImage.__init__(self, ax,
661661
**kwargs)
662-
AxesImage.set_interpolation(self, interp)
662+
self.set_interpolation(interp)
663663

664664
def _check_unsampled_image(self, renderer):
665665
"""

0 commit comments

Comments
 (0)