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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 25 05:12:36 PDT 2013


Author: annakrat
Date: 2013-08-25 05:12:36 -0700 (Sun, 25 Aug 2013)
New Revision: 57500

Modified:
   grass/trunk/gui/wxpython/timeline/frame.py
Log:
wxGUI/timeline: fix 3d

Modified: grass/trunk/gui/wxpython/timeline/frame.py
===================================================================
--- grass/trunk/gui/wxpython/timeline/frame.py	2013-08-25 10:54:22 UTC (rev 57499)
+++ grass/trunk/gui/wxpython/timeline/frame.py	2013-08-25 12:12:36 UTC (rev 57500)
@@ -329,9 +329,10 @@
 
     def OnRedraw(self, event):
         """!Required redrawing."""
-        datasets = self.datasetSelect.GetValue().strip().split(',')
+        datasets = self.datasetSelect.GetValue().strip()
         if not datasets:
             return
+        datasets = datasets.split(',')
         try:
             datasets = self._checkDatasets(datasets)
         except GException:
@@ -357,7 +358,7 @@
                 self.axes2d.change_geometry(2, 1, 1)
                 if not self.axes3d:
                     # do not remove this import - unused but it is required for 3D
-#                    from mpl_toolkits.mplot3d import Axes3D  # pylint: disable=W0611
+                    from mpl_toolkits.mplot3d import Axes3D  # pylint: disable=W0611
                     self.axes3d = self.fig.add_subplot(2, 1, 2, projection='3d')
 
                 self.axes3d.set_visible(True)



More information about the grass-commit mailing list