[QGIS-Developer] missing matplotlib.pyplot python module

PIERRE Sylvain sylvain.pierre at bas-rhin.fr
Tue Apr 24 23:52:32 PDT 2018


HI,
I face exactly same issue (code was ok with 2.14 and failed with 2.18)
I solved it by removing :
import matplotlib.pyplot as plt
and keep direct import :
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QT as NavigationToolbar
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.figure import Figure

sylvain

-----Message d'origine-----
De : QGIS-Developer [mailto:qgis-developer-bounces at lists.osgeo.org] De la part de CzendaZdenda
Envoyé : mercredi 25 avril 2018 07:29
À : qgis-developer at lists.osgeo.org
Objet : Re: [QGIS-Developer] missing matplotlib.pyplot python module

Hi,

you have probably solved the problem, but for those with the same problem.
You can try install 'python-tcltk' library using OSGeo4W installer. It
helped me.

Czenda



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list