I'm running Idle via X forwarding to my Windows desktop (running Cygwin).

I've installed tcl/tk and python with Tkinter as a backend.

When I call pylab.show(),  I always get the error :

 >>> pylab.show()
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
    return self.func(*args)
  File 
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_tkagg.py", 
line 151, in resize
    self.show()
  File 
"/usr/lib/python2.5/site-packages/matplotlib/backends/backend_tkagg.py", 
line 155, in draw
    tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
  File "/usr/lib/python2.5/site-packages/matplotlib/backends/tkagg.py", 
line 14, in blit
    _tkagg.tkinit(id(tk), 0)
AttributeError: 'module' object has no attribute 'tkinit'


And an empty matplotlib window opens on my desktop.


Should I try gtk as a backend???

TIA

-- Andrew

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to