You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would I go about including something like this into my workflow? Is this even possible? If not through astropy, is there a way to "inject/modify" the rendered table after astropy is finished with it? Can I define my own scripts and have the table call them?
I'm working on a custom observation planning jupyter notebook. I've been using astropy tables as a way to store the targets and would like to mark when certain targets are observed.
If they were checkboxes, I was hoping it could be a boolean value in the astropy table similar to how ipywidgets have values equal to True or False depending on if it's checked or not.
So, basically clicking on it changes the data in the table in real time. That is venturing into the realm of GUI editing. Let's wait for others to chime in. Thanks for your patience!
Activity
pllim commentedon May 5, 2020
Can you please elaborate on an astronomy use case that needs checkboxes?
joncwong commentedon May 5, 2020
I'm working on a custom observation planning jupyter notebook. I've been using astropy tables as a way to store the targets and would like to mark when certain targets are observed.
jairideout commentedon May 6, 2020
Can I work on this feature if it's decided to be included in astropy?
pllim commentedon May 6, 2020
How do you envision the state of those checkboxes be saved into any supported file format and loaded back up again?
joncwong commentedon May 6, 2020
If they were checkboxes, I was hoping it could be a boolean value in the astropy table similar to how ipywidgets have values equal to True or False depending on if it's checked or not.
pllim commentedon May 6, 2020
So, basically clicking on it changes the data in the table in real time. That is venturing into the realm of GUI editing. Let's wait for others to chime in. Thanks for your patience!
taldcroft commentedon May 8, 2020
This is something that could be stored in the table
metadict, possibly taking advantage of the newly added custom attributes (though not immediately sure if this would work on a baseTableinstance).https://docs.astropy.org/en/latest/table/construct_table.html#adding-custom-table-attributes