[GRASS-SVN] r48650 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 5 17:00:57 EDT 2011
Author: cmbarton
Date: 2011-10-05 14:00:57 -0700 (Wed, 05 Oct 2011)
New Revision: 48650
Modified:
grass/trunk/gui/wxpython/gui_modules/wxplot.py
Log:
wxgui: fixing segment marker plotting for profiles
Modified: grass/trunk/gui/wxpython/gui_modules/wxplot.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxplot.py 2011-10-05 18:33:07 UTC (rev 48649)
+++ grass/trunk/gui/wxpython/gui_modules/wxplot.py 2011-10-05 21:00:57 UTC (rev 48650)
@@ -45,7 +45,7 @@
"standard Python distribution). See the Numeric Python site "
"(http://numpy.scipy.org) for information on downloading source or "
"binaries.")
- print >> sys.stderr, "histogram2.py: " + msg
+ print >> sys.stderr, "wxplot.py: " + msg
class AbstractPlotFrame(wx.Frame):
"""!Abstract PyPlot display frame class"""
@@ -841,7 +841,7 @@
input = self.rasterList[0],
east_north = '%d,%d' % (point[0],point[1]))
- val = ret.splitlines()[0].split('|')[3]
+ val = float(ret.splitlines()[0].split('|')[3])
# calculate distance between coordinate points
if lasteast and lastnorth:
More information about the grass-commit
mailing list