apryet / Qgridder

Qgis python plugin for building 2D grids for finite difference numerical modeling
MIT License
15 stars 4 forks source link

cannot import name NavigationToolbar2QTAgg in Qgis 2.16 Nodebo #12

Open blabarthe opened 8 years ago

blabarthe commented 8 years ago

Since Matplotlib 1.5.0 NavigationToolbar2QTAgg has been removed, thus Qgridder plugin cannot be loaded in Qgis 2.16 Nodebo. Do you know what to do to fix this bug ? Best regards Baptiste Labarthe

till90 commented 6 years ago

Hey to solve this Problem rename the import command in the mplwidget.py data as follow:

from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg to from matplotlib.backends.backend_qt4agg import NavigationToolbar2QT works fine with my QGIS 2.18

Best regards