[GRASS-SVN] r39277 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 21 17:30:46 EDT 2009


Author: cmbarton
Date: 2009-09-21 17:30:44 -0400 (Mon, 21 Sep 2009)
New Revision: 39277

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
Reduced default legend size to value of at=5,50,2,5. Please test to see if this works for most maps.

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2009-09-21 21:25:57 UTC (rev 39276)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2009-09-21 21:30:44 UTC (rev 39277)
@@ -1842,7 +1842,7 @@
         
         id = 1 # index for overlay layer in render
 
-        cmd = ['d.legend']
+        cmd = ['d.legend', 'at=5,50,2,5']
         if self.tree.layer_selected and \
                 self.tree.GetPyData(self.tree.layer_selected)[0]['type'] == 'raster':
             cmd.append('map=%s' % self.tree.GetPyData(self.tree.layer_selected)[0]['maplayer'].name)



More information about the grass-commit mailing list