matplotlib / matplotlib/ipympl

OSX: zoom with 2 fingers triggers a menu in notebook

Open
#123 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

On OSX 10.14.5, Firefox, conda-forge, ipympl 0.3.3 widget in jupyter notebook:

After selecting zoom/pan mode with the toolbar button, the zoom works normally (one finger presses on the trackpad, the other drags), but panning with 2 fingers held down and dragging brings up a menu in addition to executing the zoom. The menu does not appear with `%matplotlib notebook`. Evidently it is disconnecting the 2-finger-press from the menu when the cursor is inside the figure.

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.

Research direction

Start by reproducing the two-finger pan/zoom behavior with the ipympl 0.3.3 widget in Jupyter Notebook on OSX 10.14.5 and Firefox. Compare it with `%matplotlib notebook`; done means two-finger dragging still performs zoom or pan without opening the menu.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.