enable navigation to previous view or zoom/pan level
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
When a user zooms and pans multiple times, sometimes user wants to go back to previous view rather than resetting the axes and zooming/panning multiple times to arrive at a specific view. It looks like this feature is not available. Is it possible to add this feature?
Example:
Initial plot(reset axes)
First zoom
Second zoom
After the Second zoom, I just want to go to First zoom with out resetting axes. This problem exaggerates for multiple navigations in a plot with many data points
This is supported in matplotlib using Forward and Back buttons.
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 reviewing plotly.js's existing zoom, pan, and reset-axes behavior, then compare it with the linked Matplotlib navigation toolbar. Define how previous and next view states should work across repeated interactions. Done means users can navigate backward and forward through prior zoom or pan levels without resetting axes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100