I also use matplotlib-0.98.5.3.win32-py2.6.exe. It was built without gtk. You have to build your own binaries with gtk support. Or find compiled package (by Christoph Gohlke) with gtk support here:
http://www.lfd.uci.edu/~gohlke/#pythonlibs and original information is here: http://www.nabble.com/matplotlib-0.98.5.3.win32-py2.6.exe-td24299490.html Personally I suggest use TkAgg. It dosen't matter if the figure window is smaller than the canvas. If you don't resize the window (i.e. you have checked the figure is ok and replotted the figure), it is ok to just save it by clicking save icon in the toolbar. On Thu, Jul 30, 2009 at 8:34 PM, Sebastian Pająk<spcon...@gmail.com> wrote: > Hello > I don't know why, but after switching from python2.5 to python2.6 I > cannot even launch matplotlib (matplotlib-0.98.5.3.win32-py2.6.exe). > This is what I get: > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "D:\msys\opt\python\lib\site-packages\pylab.py", line 1, in <module> > from matplotlib.pylab import * > File "D:\msys\opt\python\lib\site-packages\matplotlib\pylab.py", > line 253, in <module> > from matplotlib.pyplot import * > File "D:\msys\opt\python\lib\site-packages\matplotlib\pyplot.py", > line 75, in <module> > new_figure_manager, draw_if_interactive, show = pylab_setup() > File "D:\msys\opt\python\lib\site-packages\matplotlib\backends\__init__.py", > line 25, in pylab_setup > globals(),locals(),[backend_name]) > File > "D:\msys\opt\python\lib\site-packages\matplotlib\backends\backend_gtkagg.py", > line 10, in <module> > from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, > FigureCanvasGTK,\ > File > "D:\msys\opt\python\lib\site-packages\matplotlib\backends\backend_gtk.py", > line 25, in <module> > from matplotlib.backends.backend_gdk import RendererGDK, FigureCanvasGDK > File > "D:\msys\opt\python\lib\site-packages\matplotlib\backends\backend_gdk.py", > line 29, in <module> > from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array > ImportError: No module named _backend_gdk > > > I have PyGTK installed. What can be the problem? > win xp sp3 > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users