astrowidgets icon indicating copy to clipboard operation
astrowidgets copied to clipboard

Allow one to add markers from objects other than a table

Open mwcraig opened this issue 6 years ago • 3 comments

While it is great that a table is an option, I often find myself creating a table just to use in add_markers. Accepting something like a Table or a numpy array would be convenient.

mwcraig avatar Nov 05 '18 22:11 mwcraig

You mean, one array per column? Or one 2D array?

pllim avatar Nov 05 '18 23:11 pllim

I meant accepting a numpy array instead of a Table (not that it would stop accepting tables, just that one could provide a numpy array instead). I'll try to flesh this out some more over the next week or so.

mwcraig avatar Nov 06 '18 01:11 mwcraig

Actually got a request to create marker from regions (e.g., https://astropy-regions.readthedocs.io/en/stable/ or DS9 region file).

pllim avatar Jul 27 '23 18:07 pllim