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
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
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
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
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