matplotlib / matplotlib/ipympl
matplotlib 3.7 brakes plotting
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the issue
i do first plot in cell, than try to plot a second plot in a new cell, each starting with "%matplotlib widget".
matplotlib 3.6.x : both cells have separate independent plots
matplotlib 3.7.x: the plot from second cell gets added to the plot of first cell, only one plot as whole is generated. If I try to add this plot to the output tab - the plots completely disappear without any error message.
## Versions
jupyterlab: 3.5.x and 3.6.x - didnt make a difference
ipympl: 0.8.x and 0.9.2 - didnt make a difference
I am not sure if this is the right place for this, since this is linked to matplotlib though.
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 two notebook cells using "%matplotlib widget" with the reported JupyterLab, ipympl, and matplotlib version combinations. Compare the separate-plot behavior across matplotlib 3.6.x and 3.7.x, including adding the result to the output tab; done means both cells remain independent and the plots do not disappear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100