[GRASS-SVN] r69780 - grass-addons/grass7/vector/v.faultdirections

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 6 04:48:11 PST 2016


Author: mlennert
Date: 2016-11-06 04:48:11 -0800 (Sun, 06 Nov 2016)
New Revision: 69780

Modified:
   grass-addons/grass7/vector/v.faultdirections/v.faultdirections.py
Log:
v.faultdirections: specific configs for matplotlib for windows (thanks Helmut)


Modified: grass-addons/grass7/vector/v.faultdirections/v.faultdirections.py
===================================================================
--- grass-addons/grass7/vector/v.faultdirections/v.faultdirections.py	2016-11-06 03:11:39 UTC (rev 69779)
+++ grass-addons/grass7/vector/v.faultdirections/v.faultdirections.py	2016-11-06 12:48:11 UTC (rev 69780)
@@ -47,6 +47,8 @@
 
 import sys
 import numpy as np
+import matplotlib #required by windows
+matplotlib.use('wx') #required by windows
 import matplotlib.pyplot as plt
 import grass.script as gscript
 



More information about the grass-commit mailing list