astropy / astropy/astro-image-display-api
Would hide_markers method be useful?
- Dominant language
- Python
- Stars
- 4
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Would a new method that hide the marker(s) instead of deleting them be useful? For example, if you want to, say, blink through different groups of markers, it is much cheaper to toggle their visibility than to completely removing/re-adding them from/to the backend every time.
Would all backends have concept of hide vs remove?
Signature should be similar to `remove_markers`, so something like this:
```python
def hide_markers(marker_name=None):
# code here
```
cc @mwcraig @eteq
xref https://github.com/spacetelescope/jdaviz/pull/2410
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the existing remove_markers API and the jdaviz pull request referenced by the issue. Compare whether the supported backends can hide markers without removing them, including the proposed marker_name behavior. Done means agreeing on a cross-backend API contract and documenting any backend limitations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100