spacetelescope / imexam

imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
http://imexam.readthedocs.io
BSD 3-Clause "New" or "Revised" License
74 stars 45 forks source link

How do I delete regions? #242

Open KathleenLabrie opened 2 years ago

KathleenLabrie commented 2 years ago

I've looked in the 0.9.1 documentation and I can't figure out how to delete regions. My use case is that I need to delete all regions, but I'm also curious as to how to delete specific regions.

With pyds9, I was able to do 'display_handle.set("regions delete all")'. I have tried variations of this with set_region without success.

KathleenLabrie commented 2 years ago

A colleague found the answer. viewer.window.set("regions delete all").