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

Skip to content

Commit 44bc950

Browse files
committed
fixed rgbacache bug which broke clim and clam in interactive use
svn path=/trunk/matplotlib/; revision=5281
1 parent 960c33c commit 44bc950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def changed(self):
116116
update state
117117
"""
118118
self._imcache = None
119+
self._rgbacache = None
119120
cm.ScalarMappable.changed(self)
120121

121122

@@ -424,7 +425,6 @@ def set_array(self, *args):
424425
raise NotImplementedError('Method not supported')
425426

426427
def set_interpolation(self, s):
427-
print s
428428
if s != None and s != 'nearest':
429429
raise NotImplementedError('Only nearest neighbor supported')
430430
AxesImage.set_interpolation(self, s)

0 commit comments

Comments
 (0)