[GRASS-SVN] r68647 - grass/trunk/gui/wxpython/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 8 18:21:16 PDT 2016
Author: annakrat
Date: 2016-06-08 18:21:16 -0700 (Wed, 08 Jun 2016)
New Revision: 68647
Modified:
grass/trunk/gui/wxpython/nviz/mapwindow.py
Log:
wxGUI/nviz: when showing legend parameter at can have floats not just int
Modified: grass/trunk/gui/wxpython/nviz/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/mapwindow.py 2016-06-09 01:20:00 UTC (rev 68646)
+++ grass/trunk/gui/wxpython/nviz/mapwindow.py 2016-06-09 01:21:16 UTC (rev 68647)
@@ -479,7 +479,7 @@
if 0 in self.overlays:
for param in self.overlays[0].cmd[1:]:
if param.startswith("at="):
- size = map(int, param.split("=")[-1].split(','))
+ size = map(float, param.split("=")[-1].split(','))
break
if size:
wSize = self.GetClientSizeTuple()
More information about the grass-commit
mailing list