[GRASS-PSC] Contribution in AddOns
Helmut Kudrnovsky
hellik at web.de
Thu Nov 19 12:12:53 PST 2020
>Unfortunately not completely. Now it seems to hang (like some other modules)
at the matplotlib import:
IIRC, windows requires some special matplotlib import.
see:
https://github.com/OSGeo/grass-addons/blob/master/grass7/raster/r.width.funct/r.width.funct.py#L113
def plotImage(x,y,image,type,xlabel,ylabel,title):
import matplotlib #required by windows
matplotlib.use('wxAGG') #required by windows
import matplotlib.pyplot as plt
not all matplotlib backends works the same in windows like in linux
-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GRASS-PSC-f4051248.html
More information about the grass-psc
mailing list