are you using that from an interactive shell or from a script?

If you are using from a script, you need to call `io.show()` at the end of your script to enter the toolkit's event loop.

On Mon, Nov 1, 2010 at 11:06 AM, Maël Primet <mael.primet@gmail.com> wrote:
I do io.use_plugin('qt2')
io.imshow(im)
and it opens  and  close


On Mon, Nov 1, 2010 at 16:01, Chris Colbert <sccolbert@gmail.com> wrote:
how are you running it when the windows don't stay open?

On Mon, Nov 1, 2010 at 10:40 AM, mael <mael.primet@gmail.com> wrote:
Hi,

I added a 'qt2' plugin to my github repository, but can't get the
window to  stay  displayed,
 do you  know  where the problem might  be ?