image_deleteframes

sherpa.ui.image_deleteframes()

Delete all the frames open in the image viewer.

Delete all the frames - in other words, images - being displayed in the image viewer (e.g. as created by image_data or image_fit).

See also

image_close()
Close the image viewer.
image_getregion()
Return the region defined in the image viewer.
image_open()
Create the image viewer.
image_setregion()
Set the region to display in the image viewer.
image_xpaget()
Return the result of an XPA call to the image viewer.
image_xpaset()
Send an XPA command to the image viewer.

Examples

>>> image_deleteframes()