[Matplotlib-users] Failure to display - SuSE 10.1 - Matplotlib 0.87.7 from OpenSUSE RPM

2007-02-16 Thread Damian McGuckin
With a backend configured to be TkAgg, I get the following error on startup, i.e. on doing ... $ python Python 2.4.2 (#1, May 2 2006, 08:13:46) [GCC 4.1.0 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from pylab import * Traceback (most recen

Re: [Matplotlib-users] newbie: easy question (I hope)

2007-02-16 Thread Edin Salkovic
On 2/16/07, Chiara Caronna <[EMAIL PROTECTED]> wrote: > Hello, > I would like to plot some data while the interpreter continues > calculating... > if I just write > plot(x,y) > show() > > Then the code stops until I close the window... how should I do? > Thanks in advance > Chiara Hi Chiara, Try

Re: [Matplotlib-users] newbie: easy question (I hope)

2007-02-16 Thread Benoit Donnet
Hi, > Then the code stops until I close the window... how should I do? This is normal behavior as, I guess, your program is single-threaded. What you want is some concurrency during the execution (computing and plotting). You should look at multi-threading programming in Python. You could

[Matplotlib-users] newbie: easy question (I hope)

2007-02-16 Thread Chiara Caronna
Hello, I would like to plot some data while the interpreter continues calculating... if I just write plot(x,y) show() Then the code stops until I close the window... how should I do? Thanks in advance Chiara _ Don't just search. Fin

Re: [Matplotlib-users] [matplotlib-devel] Unifying numpy, scipy, and matplotlib docstring formats

2007-02-16 Thread Matthew Brett
Hi, > I think a consensus is building in the python community that you should > NEVER use import *! Well, I have only been coding python for a few years, but I would say, along with writing unit tests, the great importance of not using import * is one of the secrets that you learn slowly and pain