[QGIS-Developer] Bug with Statist plugin

Patrice abrabacabra at openmailbox.org
Wed Jun 14 09:00:52 PDT 2017


There is a bug with the Statist plugin.

-------------------------------------------------------------

The plugin is broken. Python said:
cannot import name NavigationToolbar2QTAgg

-------------------------------------------------------------

As suggested by user'spaceof7'  on github, changing line 49

from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg 
as NavigationToolbar
to:
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QT as 
NavigationToolbar


fixes the problem.


The git repository doesn't seem up to date (last update is from 2013.) 
and code has obviouslychanged since (when comparing sources).



Patrice




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170614/be4a56f5/attachment.html>


More information about the QGIS-Developer mailing list