An astropython.org visitor writes:

I'm using Matplotlib to make some figures out of FITS images.  I really would like to find a way to do 2 way communication with DS9.  I know there are ways to send an image to DS9 from Python at a command line.  But what I would like to do is send DS9 an image, display it there and set the stretch to something funky but eye pleasing, then from Python capture that image exactly as is.  Then I could put the image into a Matplotlib figure.  I would like to pose this question to the forum to see if someone has an idea of whether this is possible or not.



    10           4