From: <js...@us...> - 2010-02-26 16:04:57
|
Revision: 8159 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8159&view=rev Author: jswhit Date: 2010-02-26 16:04:49 +0000 (Fri, 26 Feb 2010) Log Message: ----------- make default behaviour for order=3 match orders=0,1 for grid pts outside range of data. Modified Paths: -------------- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py Modified: trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py =================================================================== --- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2010-02-26 00:28:14 UTC (rev 8158) +++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2010-02-26 16:04:49 UTC (rev 8159) @@ -3755,7 +3755,7 @@ except ImportError: raise ValueError('scipy.ndimage must be installed if order=3') coords = [ycoords,xcoords] - dataout = map_coordinates(datain,coords,order=3,mode='constant') + dataout = map_coordinates(datain,coords,order=3,mode='nearest') else: raise ValueError,'order keyword must be 0, 1 or 3' if masked and isinstance(masked,bool): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |