|
From: Florian L. <mai...@xg...> - 2005-05-13 16:34:54
|
Hello, taken form the tutorial http://matplotlib.sourceforge.net/leftwich_tut.txt I use the code: from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure fig = Figure() canvas = FigureCanvas(fig) ax = fig.add_subplot(111) ax.plot([1,2,3]) ax.set_title('hi mom') ax.grid(True) ax.set_xlabel('time') ax.set_ylabel('volts') canvas.print_figure('test') Which IMO uses the AGG backend (which works fine for my using the pylab interface). But upon excecution I get: No module named pygtk PyGTK version 1.99.16 or greater is required to run the GTK Matplotlib backends What is wrong there? Thx, Florian |