[GRASS-SVN] r73022 - grass/branches/releasebranch_7_4/gui/wxpython/timeline

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 31 09:25:25 PDT 2018


Author: annakrat
Date: 2018-07-31 09:25:24 -0700 (Tue, 31 Jul 2018)
New Revision: 73022

Modified:
   grass/branches/releasebranch_7_4/gui/wxpython/timeline/frame.py
Log:
wxGUI/timeline: fix #3609 (merge from trunk, r73019, r73020, r73021)

Modified: grass/branches/releasebranch_7_4/gui/wxpython/timeline/frame.py
===================================================================
--- grass/branches/releasebranch_7_4/gui/wxpython/timeline/frame.py	2018-07-30 22:28:33 UTC (rev 73021)
+++ grass/branches/releasebranch_7_4/gui/wxpython/timeline/frame.py	2018-07-31 16:25:24 UTC (rev 73022)
@@ -47,7 +47,7 @@
 from gui_core import gselect
 from core import globalvar
 
-ALPHA = 0.5
+ALPHA = 1
 COLORS = ['b', 'g', 'r', 'c', 'm', 'y', 'k']
 
 
@@ -355,6 +355,7 @@
                             i - 0.1,
                             0.2),
                         facecolors=color,
+                        edgecolor='black',
                         alpha=ALPHA))
             else:
                 plots.append(
@@ -380,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