GTKAgg Animation Stuck

Greetings,

I've been trying to build a "stripchart" with matplotlib as part of a larger PyGTK application. I have rebuilt one of the examples as a GTK window class, but it doesn't seem to update unless it is resized. Any ideas?

Thanks,

-carson-

scopetest5.py (1.66 KB)

The problem is with "import pylab" and mixing pylab commands with the
matplotlib class interface. If you are embedding matplotlib into a PyGTK
application I recommend avoiding pylab completely and using the
matplotlib classes only.

Here's a version of the script where the updates are working.
Regards
Steve

scopetest5_2.py (1.19 KB)

ยทยทยท

On Wed, 2005-01-05 at 18:35 -0500, Carson Reynolds wrote:

Greetings,

I've been trying to build a "stripchart" with matplotlib as part of a
larger PyGTK application. I have rebuilt one of the examples as a GTK
window class, but it doesn't seem to update unless it is resized. Any ideas?

Thanks,

-carson-