Allow drag zoom of arbitrary aspect ratio with `dcc.Graph` and image as data
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
Our application uses dcc.Graph to render images. Currently, the zoom feature maintains the aspect ratio of the full-resolution image. Is it possible to configure the graph component to permit drag zooming of arbitrary aspect ratios? One consideration is that the behaviour would be separate from scollZoom as scrolling would have to maintain the current aspect ratio
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how dcc.Graph handles image zooming and how the existing scrollZoom behavior is configured. Compare the current fixed-aspect drag zoom with the requested arbitrary-aspect behavior, while preserving the separate scrollZoom constraint; done means drag zoom can use arbitrary aspect ratios without changing scroll zoom.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100