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 ):
>
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
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
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'