figures are not closed in a notebook...
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- jupyter-notebook
- Domain
- data-visualization
Research direction
Reproduce the behavior in a notebook using %matplotlib widget, comparing fresh and re-executed plotting cells with %matplotlib inline. Done means each plotting cell gets the expected figure and re-executing it does not leave the prior figure open; trace the widget entry point from this reproduction to identify the relevant code and regression coverage.
Written by the indexing model from the issue text.
Description
I really like the %matplotlib widget extension for the interactivity it provides. However, the transition from %matplotlib inline to widget is not as smooth as I hoped for:
- every cell that does some plotting should open a new figure (else a figure from a previously executed cell will be used)
- when you reexecute a cell (often done in notebooks, meant for prototyping and education...) a new figure is made AND THE OLD ONE IS KEPT... shouldn't the old figure be removed/closed to stay in line with the inline matplotlib option?
Regards
Rein van den Boomgaard
- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
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.
More from matplotlib/ipympl
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
matplotlib/ipympl#623 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
matplotlib/ipympl#622 · 13 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
matplotlib/ipympl#612 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
matplotlib/ipympl#611 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
matplotlib/ipympl#609 · 7 comments ·
All issues in matplotlib/ipympl
Similar issues
-
P3 size: 1 task
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
🦾 ai-candidate
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
scope: charts status: waiting for maintainer
Difficulty 2/5 1-3 hours Newbie friendliness 88/100