[SciPy-user] Problem with plt.plot

eric jones eric at enthought.com
Wed Jan 22 18:13:16 EST 2003


Yes.  Plt is based on wxPython, so it is a required package.  The gplt
package has a similar interface, but will work on any machine that has
gnuplot installed.  I think the windows version of scipy even comes with
a gnuplot binary.  Also, I believe gnuplot comes on most Unix systems.
xplt should work on any Unix system also.

Regards,
eric

----------------------------------------------
eric jones                    515 Congress Ave
www.enthought.com             Suite 1614
512 536-1057                  Austin, Tx 78701 


> -----Original Message-----
> From: scipy-user-admin at scipy.net [mailto:scipy-user-admin at scipy.net]
On
> Behalf Of Agustin Lobo
> Sent: Wednesday, January 22, 2003 10:18 AM
> To: scipy-user at scipy.net
> Subject: [SciPy-user] Problem with plt.plot
> 
> 
> Hi!
> 
> I'm following the tutorial
> "Minimal Python for Scientific Computing"
> 
> and get to this problem when I try
> to use plt:
> 
> >>> from scipy import *
> >>> import gui_thread
> <Importing wxPython... >>> Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "/var/tmp/python-root//usr/lib/python2.1/threading.py", line
378,
> in __bootstrap
>     self.run()
>   File "/var/tmp/python-root//usr/lib/python2.1/threading.py", line
366,
> in run
>     apply(self.__target, self.__args, self.__kwargs)
>   File
>
"/tmp/SciPyTest/linux2/lib/python2.1/site-packages/gui_thread/main.py",
> line 38, in gui_thread
>   File
> "/tmp/SciPyTest/linux2/lib/python2.1/site-
> packages/gui_thread/gui_thread_guts.py",
> line 44, in ?
> ImportError: No module named wxPython.wx
> 
> should download and install wxPython just to use plt.plot ?
> 
> Thanks
> 
> Agus
> 
> Dr. Agustin Lobo
> Instituto de Ciencias de la Tierra (CSIC)
> Lluis Sole Sabaris s/n
> 08028 Barcelona SPAIN
> tel 34 93409 5410
> fax 34 93411 0012
> alobo at ija.csic.es
> 
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user






More information about the SciPy-User mailing list