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---------