Phil Austin wrote:

> John Hunter wrote:
>  >
>  > Well, the problem is that GTK, WX and Qt require threading support to
>  > use them properly interactively.  ipython has special modes for these
>  > to run the GUI mainloop in the separate thread.  tk is special in this
>  > regard, in that it runs from a standard python shell w/o threading
>  > support.  You may be able to configure ipython within xemacs to take
>  > advantage of both xemacs and ipython's support for interactive qt
>  > plotting in pylab.
> 
> FWIW, everything's working correctly for me using
> xemacs + ipython:
> 
> Xemacs 21.5
> current svn snapshot of python-mode.el from
>    http://sourceforge.net/projects/python
> current ipython svn snapshot
> Centos 5.1 and python 2.5.1
> 
Works for me if invoked from xemacs shell as ipython -pylab.

If invoked from M-x py-shell doesn't work.

Now if I could just figure out where to modify the way py-shell invokes
ipython to add the -pylab.  Doc say C-u M-x py-shell would prompt for args,
but the doc lies.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to