[Scipy-svn] r2881 - trunk/Lib/ndimage

scipy-svn@scip... scipy-svn@scip...
Wed Mar 28 10:01:28 CDT 2007


Author: stefan
Date: 2007-03-28 10:01:14 -0500 (Wed, 28 Mar 2007)
New Revision: 2881

Modified:
   trunk/Lib/ndimage/interpolation.py
Log:
Change default axis of rotation from (-1,-2) to (1,0).


Modified: trunk/Lib/ndimage/interpolation.py
===================================================================
--- trunk/Lib/ndimage/interpolation.py	2007-03-28 14:57:22 UTC (rev 2880)
+++ trunk/Lib/ndimage/interpolation.py	2007-03-28 15:01:14 UTC (rev 2881)
@@ -337,7 +337,7 @@
         maxc[1] = coor[1]
     return minc, maxc
 
-def rotate(input, angle, axes = (-1, -2), reshape = True,
+def rotate(input, angle, axes = (1, 0), reshape = True,
            output_type = None, output = None, order = 3,
            mode = 'constant', cval = 0.0, prefilter = True):
     """Rotate an array.



More information about the Scipy-svn mailing list