I am currently trying to build a simple app that includes some pylab
figures. I just started to use quickly
and I am concerned about some import issues. That is, none of the matplotlib
backends will be able to work.
More specifically, if any of the following import
statements is uncommented in my main file, then quickly
will fail to run the app
#from matplotlib.backends.backend_gtk import FigureCanvasGTK as FigureCanvas
#from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas
#from matplotlib.backends.backend_gtkcairo import FigureCanvasGTKCairo as FigureCanvas
so there is no way I can embed a plot.
Here is the output of quickly run
if the backend_gtk
is uncommented
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size from gtk import
_gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed from gtk import _gtk
Any idea of what could solve the problem? Do you need more information?