Can't plot with GTKCairo or GTKAgg backends any more

Bug #1712326 reported by John Pye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
matplotlib (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On a new clean 17.04 system with only standard packages installed, I can't use GTKAgg or GTKCairo backends with Matplotlib any more. This breaks my Python2 + GTK2 GUI, since I need to embed GTK-based plots.

Note clear why the problem is arising, but this following shows the problem:

$ ipython
import matplotlib; matplotlib.use("GTKCairo"); import pylab; pylab.plot([1,2],[3,4]);pylab.show()

See also:
https://stackoverflow.com/questions/14346090/importerror-no-module-named-backend-gdk

John Pye (jdpipe)
description: updated
Revision history for this message
John Pye (jdpipe) wrote :

Not a bug. I had a non-Ubuntu copy of matplotlib in ~.local/lib/python2.7 which was causing this error.

Changed in matplotlib (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.