Revision: 8837 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8837&view=rev Author: mdboom Date: 2010-12-14 15:54:03 +0000 (Tue, 14 Dec 2010)
Log Message: ----------- NonUniformImage only supports nearest and bilinear interpolation, so if the user passes something else, an exception should be raised. Modified Paths: -------------- branches/v1_0_maint/lib/matplotlib/image.py Modified: branches/v1_0_maint/lib/matplotlib/image.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/image.py 2010-12-13 21:17:52 UTC (rev 8836) +++ branches/v1_0_maint/lib/matplotlib/image.py 2010-12-14 15:54:03 UTC (rev 8837) @@ -659,7 +659,7 @@ interp = kwargs.pop('interpolation', 'nearest') AxesImage.__init__(self, ax, **kwargs) - AxesImage.set_interpolation(self, interp) + self.set_interpolation(interp) def _check_unsampled_image(self, renderer): """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins