AllenCell / AllenCell/cell-feature-explorer

Do not reset plot view in CFE on selection

Aperta
#305 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug enhancement
Lingua principale
TypeScript
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.