QtAgg figures are vanishing in pylab

Hi there.
I have a problem with the QtAgg backend. It is not that serious but a
bit nasty. After opening a figure with

figure(1)

I have no problems to plot there. But after closing the window it is
no longer possible to open a figure with ID 1 again. Ipython gives no
error message, everything looks ok. But if one tries to plot something
in this window nothing appears on the screen.
I use Ipython 0.6.15 with matplotlib 0.8 on a Debian 3.1 system.
Does anyone of you have an idea what I'm doing wrong or is this a known
bug/error.

cu
Eugen

Could you post the exact sequence of commands that you're using and what you have interactive mode set to?

I tried this w/ regular python and a version of python that we deliver to our customers that supports interactive mode w/ qt and it seems to work fine for me.

ยทยทยท

----------
[non-interactive mode]
import pylab as p
p.figure( 1 )
p.plot( [ 1, 2 ] )
p.show()
[ kill the window ]
p.figure( 1 )
p.plot( [ 3, 4 ] )
p.show()
[ new window pops up fine ]

----------
[interactive mode]
import pylab as p
p.figure( 1 )
[ window pops up ]
p.plot( [ 1, 2 ] )
[ kill the window ]
p.figure( 1 )
[ window pops up ]

At 12:24 AM 8/3/2005, Eugen Wintersberger wrote:

Hi there.
I have a problem with the QtAgg backend. It is not that serious but a
bit nasty. After opening a figure with

> figure(1)

I have no problems to plot there. But after closing the window it is
no longer possible to open a figure with ID 1 again. Ipython gives no
error message, everything looks ok. But if one tries to plot something
in this window nothing appears on the screen.
I use Ipython 0.6.15 with matplotlib 0.8 on a Debian 3.1 system.
Does anyone of you have an idea what I'm doing wrong or is this a known
bug/error.

cu
Eugen

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Ted Drain Jet Propulsion Laboratory ted.drain@...369...