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

Skip to content

Commit dafdd45

Browse files
committed
make NonUniformImage not to use unsampled_image
svn path=/trunk/matplotlib/; revision=8178
1 parent a1f1656 commit dafdd45

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/matplotlib/image.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,12 @@ def __init__(self, ax, **kwargs):
592592
**kwargs)
593593
AxesImage.set_interpolation(self, interp)
594594

595+
def _check_unsampled_image(self, renderer):
596+
"""
597+
return False. Do not use unsampled image.
598+
"""
599+
return False
600+
595601
def make_image(self, magnification=1.0):
596602
if self._A is None:
597603
raise RuntimeError('You must first set the image array')

0 commit comments

Comments
 (0)