Hi there. I have the following versions of numpy and matplotlib
installed on Debian sarge:
In [3]: matplotlib.__version__
Out[3]: '0.87.7'
In [4]: numpy.__version__
Out[4]: '1.0.1.dev3422'
Recent installations from SVN started giving me a segmentation fault
error when I use pylab.close(). For example, I want to press 'q' to
close the plot window interactively, but I get
$ ./test.py
Segmentation fault
when I do that (test.py is attached below). When I click on the close
button on the window widget (i.e., Alt+F4), the segfault does NOT
happen. Is this a known bug? I'd appreciate your help!
Taro
--BEGIN test.py-----------
#!/usr/bin/env python
import pylab as P
def on_press(event):
key = event.key
if key == 'q':
P.close()
def main():
P.plot([1,2,3])
P.connect('key_press_event',on_press)
P.show()
print 'done.'
if __name__ == '__main__':
main()
--END test.py---------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users