Problem solved. The backend was set to Qt4Agg. Once set to TkAgg everything
works.
I don't get it but it works..
tva wrote:
>
> Hi Michiel
>
> thanks, but does that explain why the script works smoothly in 0.98.6 and
> earlier versions?
> Plotting all the c
m in your script is that the event loop never kicks in.
> Unfortunately, Python has no support for event loops in general, which
> makes this hard to solve. One option is to use raw_input() between calls
> to plot(), but then each time you have to hit to get the script to
> proceed.
>
nstead of show().
>
> Regards,
>
> -JJ
>
>
> On Sun, Sep 6, 2009 at 3:06 PM, tva wrote:
>>
>> Hi all
>>
>> with matplotlib 0.98.5.3 this script will draw new lines as the scrips is
>> running:
>>
>> from pylab import *
>> x = arange(0,2*pi,0.
Hi all
with matplotlib 0.98.5.3 this script will draw new lines as the scrips is
running:
from pylab import *
x = arange(0,2*pi,0.01)
for i in arange(1,20):
y=sin(x+i)
plot(x,y) # update the data
show()
with matplotlib 0.99, the exact same script ru