On Dec 3, 2007 10:58 AM, John Hunter <[EMAIL PROTECTED]> wrote:
> On Dec 2, 2007 9:23 PM, Chris Fonnesbeck <[EMAIL PROTECTED]> wrote:
> > Running a recent build from svn on OSX 10.5, the TkAgg interface
> > becomes unresponsive after plotting a histogram and calling show().
> > Here is a sample from the process, in case it is useful:
>
> Is it only hist that is hanging? Does plot work.... This one has me
> a bit stumped.
Same thing. Here is what I did:
In [1]: from matplotlib import use
In [2]: use('TkAgg')
In [3]: from numpy import random
In [4]: x = random.gamma(0.1, 1000, 1000)
In [5]: from pylab import *
In [6]: plot(x)
Out[6]: [<matplotlib.lines.Line2D instance at 0x1dda508>]
In [7]: show()
Exception in Tkinter callback
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
line 1403, in __call__
return self.func(*args)
File "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",
line 188, in resize
self.show()
File "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",
line 192, in draw
tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
File "/Library/Python/2.5/site-packages/matplotlib/backends/tkagg.py",
line 15, in blit
tk.call("PyAggImagePhoto", photoimage, id(aggimage), colormode, id(bbox))
TclError
--
Christopher J. Fonnesbeck
+ Fish & Wildlife Research Institute (FWC)
+ 727.235.5570
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users