From: Steve C. <ste...@ya...> - 2005-01-06 04:51:17
|
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- 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 |