|
From: <jd...@us...> - 2009-01-16 21:21:26
|
Revision: 6800
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6800&view=rev
Author: jdh2358
Date: 2009-01-16 21:21:17 +0000 (Fri, 16 Jan 2009)
Log Message:
-----------
fixed get_interpolation / get_resample for AxesImage
Modified Paths:
--------------
branches/v0_98_5_maint/lib/matplotlib/image.py
Modified: branches/v0_98_5_maint/lib/matplotlib/image.py
===================================================================
--- branches/v0_98_5_maint/lib/matplotlib/image.py 2009-01-16 20:30:29 UTC (rev 6799)
+++ branches/v0_98_5_maint/lib/matplotlib/image.py 2009-01-16 21:21:17 UTC (rev 6800)
@@ -348,10 +348,16 @@
self._interpolation = s
def set_resample(self, v):
+ """
+ set whether or not image resampling is used
+
+ ACCEPTS: True|False
+ """
if v is None: v = rcParams['image.resample']
self._resample = v
- def get_interpolation(self):
+ def get_resample(self):
+ 'return the image resample boolean'
return self._resample
def get_extent(self):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|