[GRASS-SVN] r73021 - grass/trunk/gui/wxpython/timeline

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 30 15:28:33 PDT 2018


Author: annakrat
Date: 2018-07-30 15:28:33 -0700 (Mon, 30 Jul 2018)
New Revision: 73021

Modified:
   grass/trunk/gui/wxpython/timeline/frame.py
Log:
wxGUI/timeline: draw grid behind data

Modified: grass/trunk/gui/wxpython/timeline/frame.py
===================================================================
--- grass/trunk/gui/wxpython/timeline/frame.py	2018-07-30 21:19:21 UTC (rev 73020)
+++ grass/trunk/gui/wxpython/timeline/frame.py	2018-07-30 22:28:33 UTC (rev 73021)
@@ -381,6 +381,7 @@
         xlim = self.axes2d.get_xlim()
         padding = ceil((xlim[1] - xlim[0]) / 20.)
         self.axes2d.set_xlim(xlim[0] - padding, xlim[1] + padding)
+        self.axes2d.set_axisbelow(True)
 
         self.canvas.draw()
         DataCursor(plots, lookUp, InfoFormat)



More information about the grass-commit mailing list