[GRASS-SVN] r64285 - grass/branches/releasebranch_7_0/gui/wxpython/wxplot
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 22 18:47:14 PST 2015
Author: annakrat
Date: 2015-01-22 18:47:14 -0800 (Thu, 22 Jan 2015)
New Revision: 64285
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/wxplot/profile.py
Log:
wxGUI/profile: fix case when map has defined units (merge from trunk, r64284)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/wxplot/profile.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/wxplot/profile.py 2015-01-23 02:45:38 UTC (rev 64284)
+++ grass/branches/releasebranch_7_0/gui/wxpython/wxplot/profile.py 2015-01-23 02:47:14 UTC (rev 64285)
@@ -216,7 +216,7 @@
# update ylabel to match units if they exist
if self.raster[r]['units'] != '':
- self.ylabel += '%s (%d),' % (r['units'], i)
+ self.ylabel += '%s (%d),' % (self.raster[r]['units'], i)
i += 1
# update title
More information about the grass-commit
mailing list