Re: [Matplotlib-users] draw() doesn't always force draw on qt4?

2008-04-24 Thread Glen W. Mabey
On Thu, Apr 24, 2008 at 08:59:32AM -0500, John Hunter wrote: > On Wed, Apr 23, 2008 at 1:49 PM, Glen W. Mabey <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I'm using today's svn source and I'm surprised that the following loop > > does not get redrawn 10 times. > > > > for it in range( 10 ): >

Re: [Matplotlib-users] draw() doesn't always force draw on qt4?

2008-04-24 Thread John Hunter
On Wed, Apr 23, 2008 at 1:49 PM, Glen W. Mabey <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using today's svn source and I'm surprised that the following loop > does not get redrawn 10 times. > > for it in range( 10 ): > plot( arange( it ) ) > draw() > raw_input(); > > That is

Re: [Matplotlib-users] draw() doesn't always force draw

2008-04-24 Thread Darren Dale
On Wednesday 23 April 2008 02:49:46 pm Glen W. Mabey wrote: > Hello, > > I'm using today's svn source and I'm surprised that the following loop > does not get redrawn 10 times. > > for it in range( 10 ): > plot( arange( it ) ) > draw() > raw_input(); > > That is, within a 'ipyth

Re: [Matplotlib-users] draw() doesn't always force draw on qt4?

2008-04-24 Thread Matthias Michler
Hello Glen, I'm not sure, but maybe it would help to use ax = subplot(111) and ax.plot(arange(it)) instead of plot(arange(it)) or to call a second draw() after plotting. regards Matthias On Wednesday 23 April 2008 20:49:46 Glen W. Mabey wrote: > Hello, > > I'm using today's svn source and I'