imexam icon indicating copy to clipboard operation
imexam copied to clipboard

How do I delete regions?

Open KathleenLabrie opened this issue 3 years ago • 1 comments

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 avatar Oct 20 '21 04:10 KathleenLabrie

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

KathleenLabrie avatar Oct 21 '21 00:10 KathleenLabrie