matplotlib / matplotlib/ipympl

button does not toggle with keyboard shortcuts

Open
#118 0 comments 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

Keyboard shortcuts P for pan and O for zoom work fine, but they do not trigger button toggle.

To reproduce:
1. show an ipympl plot on Jupyterlab
2. click on the figure to focus
3. push 'P' for pan; the cursor changes but the button does not

Firefox 67.0.4, Windows 8.1
```
jupyterlab 1.0.1 py37_0 conda-forge
jupyterlab_server 1.0.0 py_0
matplotlib 3.1.1 py37_0 conda-forge
matplotlib-base 3.1.1 py37h2852a4a_0 conda-forge
ipympl 0.3.2 py_0 conda-forge
ipywidgets 7.5.0 py_0 conda-forge
```

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

Reproduce the issue in JupyterLab using the listed ipympl and ipywidgets versions, then trace the keyboard shortcut and button handling in the frontend. Done means pressing P or O changes both the cursor behavior and the corresponding button toggle state.

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.