[SciPy-user] gui_thread error

Fernando Perez Fernando.Perez at colorado.edu
Wed Oct 19 12:18:07 CDT 2005


Vlado Balko wrote:
> Hello,
> 
> I installed SciPy 0.3.2 on Python 2.4 from binaries compiled for 2.4 (I 
> found it here in mailing list). Then I installed wxPython 2.6.1.0 unicode
> 
> But when I tried to run this code:
> 
> # set up graphics capabilities and import scipy into the workspace
> import gui_thread
> gui_thread.start()
> from scipy import *
> # create the curve values.
> a = arange(pi,2*pi,.01)
> b = sin(a)
> # also find find the function minimum on the same range
> x = optimize.fminbound(sin,pi,2*pi)
> plt.plot(a,b,'-');

Please note that scipy is undergoing a major reorganization, and in the 
process, the plt module has been deprecated and slated for removal.  I suggest 
you look into using matplotlib for your plotting needs:

http://matplotlib.sourceforge.net/

More plotting links can be found here:

http://www.scipy.org/wikis/topical_software/TopicalSoftware

cheers,

f



More information about the SciPy-user mailing list