matplotlib / matplotlib/ipympl
MATLAB-like Vertical/Horizontal Zoom for strictly Vertical/Horizontal Drag
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
In the MATLAB figure controls, the zoom button allows me to only zoom horizontally if the mouse is moved horizontally or vertically. This is nice to have so that I don't have to drag across the vertical/horizontal extent every time I want to go to a specific spot.
I'd greatly appreciate this feature here as I use this extension for virtually all of my notebook development and find myself wanting to do this frequently. Thanks!

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 reproducing the zoom-button behavior in a notebook and compare it with the MATLAB figure controls described in the issue. Trace the ipympl zoom interaction to determine how horizontal versus vertical mouse movement is handled; done means a strictly horizontal or vertical drag zooms only that axis without affecting the other.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100