Backend Control

Alan,
    It would be nice to be able to plot and show, get feedback from the user (perhaps using tkinter), and then update the plot on the screen, causing you to have to use show twice (pylab.Draw()doesn't seem to work the way I'm trying to use it -- with basemaps -- ie. to get the user to see an intermediate map.)
  Any hints or examples showing how to use "draw" properly with basemaps? (The links you sent said "draw" should work.) The funny thing is that when I look at anim.py it says:
# turn interactive mode on for dynamic updates. If you aren't in
# interactive mode, you'll need to use a GUI event handler/timer.
  but how would one use a GUI event handler/timer?
Regards,
Kurt

···

Date: Wed, 2 Apr 2008 10:44:43 -0400
From: Alan Isaac <aisaac@...310...>
Subject: Re: [Matplotlib-users] Backend Control
To: matplotlib-users@lists.sourceforge.net
Message-ID:
  <Mahogany-0.67.0-3380-20080402-104443.00@...446...>
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

On Wed, 2 Apr 2008, Wolfgang Kerzendorf wrote:
> If I plot something with pylab.plot and then
> pylab.show the first time.

http://matplotlib.sourceforge.net/faq.html#SHOW

http://matplotlib.sourceforge.net/faq.html#OO

hth,
Alan Isaac

<URL:http://matplotlib.sourceforge.net/tutorial.html&gt;
(near the bottom)

hth,
Alan

···

On Thu, 03 Apr 2008, KURT PETERS apparently wrote:

how would one use a GUI event handler/timer?