[GRASS-SVN] r66605 - grass/trunk/gui/wxpython/wxplot

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Oct 26 06:30:43 PDT 2015


Author: neteler
Date: 2015-10-26 06:30:43 -0700 (Mon, 26 Oct 2015)
New Revision: 66605

Modified:
   grass/trunk/gui/wxpython/wxplot/scatter.py
Log:
wx scatterplot: update r.regression.line call

Modified: grass/trunk/gui/wxpython/wxplot/scatter.py
===================================================================
--- grass/trunk/gui/wxpython/wxplot/scatter.py	2015-10-26 13:30:41 UTC (rev 66604)
+++ grass/trunk/gui/wxpython/wxplot/scatter.py	2015-10-26 13:30:43 UTC (rev 66605)
@@ -243,8 +243,8 @@
             rast1 = rast1.split('@')[0] 
             rast2 = rast2.split('@')[0] 
             ret = grass.parse_command('r.regression.line', 
-                                      map1 = rast1, 
-                                      map2 = rast2, 
+                                      mapx = rast1, 
+                                      mapy = rast2, 
                                       flags = 'g', quiet = True,
                                       parse = (grass.parse_key_val, { 'sep' : '=' }))
             eqtitle = _('Regression equation for raster map <%(rast1)s> vs. <%(rast2)s>:\n\n') % \



More information about the grass-commit mailing list