AllenCell / AllenCell/cell-feature-explorer
Do not reset plot view in CFE on selection
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
## Use Case
Requested by @MFarhadloo25:
> A new feature request for CFE:
> When exploring datapoints in the CFE plot panel while zoomed into a specific region, clicking a point to add it to the side panel (for exploring in Vol-E) causes the view to auto-reset to full scale. I then have to zoom back into that region to select a neaby point.
> Could we disable the auto-rescale when clicking on a point?
## Solution
- [ ] Keep plotly zoom the same after selecting a point.
Notes:
- Check if points are currently rendered in the main trace or as shapes in the layout pass.
- Possible solution would be to store the current domain before a selection, apply the selection, and reapply the current domain after.
## Alternatives
_Please describe any alternatives you've considered, even if you've dismissed them_
Contributor guide
Assessment
This issue has not been assessed yet.