I'm not sure, but I guess you should make
matplotlib.interactive(False) and matplotlib.use('PS') BEFORE
importing pylab.

Nicolas Grilly

On 11/16/06, Emin.shopper Martinian.shopper <[EMAIL PROTECTED]> wrote:
> Whenever I try to use matplotlib from a python session inside emacs, python
> freezes. What I do is start GNU Emacs version 21.1.3 for Windows, do ESC-x
> shell and enter the commands shown below. Note that I set the backend to PS
> and interactive to false, but my python interpreter still freezes. I suspect
> that this is because matplotlib is generating some GUI events which upset
> emacs. The example works fine if I run python through the shell without
> emacs, but I would very much like to run python through an emacs session.
> Similar problems happen with other backends. Any suggestions on how to solve
> this problem would be much appreciated.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to