Close an image window?

Alasdair McAndrew amca01 at gmail.com
Thu Dec 19 04:59:56 EST 2013


This is a trivial question, but I still don't know how to do it.  I've 
started up "ipython --pylab" and then:

 import skimage.io as io

c = io.imread('cameraman.jpg')

io.imshow(c,'qt') 

and this gives me an image in a window labelled "skimage". (I'm using 
Ubuntu 12.04). But how do I close this window from the console? I've tried:


plt.close('skimage')

plt.close()

plt.close('all')

plt.close(1)


none of which have any effect. I can of course close them with the mouse, 
but that seems a little inelegant. Is the method to "close" the window in 
another package entirely?


Thanks!




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20131219/154c7866/attachment.html>


More information about the scikit-image mailing list