i'd like to plot some data, get user input, and then plot the original data and user input. when i try to show() the data i get a segfault after about ten seconds.
any clue what i'm doing wrong? using mac os x 10.5 with enthought distribution. thanks, drs #!/usr/bin/env python import pylab x = pylab.arange(0,10,0.1) y = pylab.sin(x) # plot and get user input, then close fig pylab.plot(x,y) points = pylab.ginput(2) points = pylab.array(points) pylab.close() # replot with chosen points pylab.plot(x,y) pylab.plot(points[:,0],points[:,1],'ko') pylab.show() # wait for it, wait for it...now segfault ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users