Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

MATLAB-like Vertical/Horizontal Zoom for strictly Vertical/Horizontal Drag

Open
#561 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
jupyter-notebook
Domain
frontend

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.

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!

image

Dominant language
Jupyter Notebook
Stars
1.7k
Forks
234
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matplotlib/ipympl

All issues in matplotlib/ipympl

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.