1

[ubuntu] Matplotlib and PyGTK: backend error

view story
linux-howto

http://ubuntuforums.org – I'm trying to include Matplotlib plots in a Python app I'm developing with Anjuta (updated Ubuntu 12.04, 64-bit). In a tutorial, I have to import "backends", i.e. from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas And an error message is returned. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_gtkagg.py", line 10, in <module> from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCan (Hardware)