[SciPy-user] problem with plt
Paul Casteels
Paul.Casteels at ua.ac.be
Fri May 16 02:56:45 EDT 2003
Eric,
Yes, this works fine thanks. Both from a dos-box or from Activestate's
PythonWin. Maybe the plotting tutorial could be updated with this ? It
discourages new users (like me).
Talking about tutorials : where can I find some information on the signal
module ?
Paul Casteels
On Thu, 15 May 2003, eric jones wrote:
> >
> > This is my configuration :
> >
> > Z:\>python
> > ActivePython 2.2.1 Build 222 (ActiveState Corp.) based on
> > Python 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)] on
> win32
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import Numeric
> > >>> Numeric.__version__
> > '23.0'
> > >>> import wxPython
> > >>> wxPython.__version__
> > '2.4.0.7'
> > >>> import scipy
> > >>> scipy.__version__
> > '0.2.0_alpha_196.4128'
> >
> > If I try :
> >
> > >>> import gui_thread
> > >>> from scipy import plt
> > >>> plt.plot((1,2,3))
> >
>
> gui_thread was changed within the last few months so that it does a
> little less magic. You must now do the following:
>
> >>> import gui_thread
> >>> gui_thread.start()
> >>> from scipy import plt
> >>> plt.plot((1,2,3))
>
> This *should* work from the command line (it just did for me anyway on
> windows). I'm betting it works fine from ipython also. gui_thread is
> quite finicky, though, so your milage may vary.
>
> eric
>
>
>
> _______________________________________________
> 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