matplotlib / matplotlib/ipympl
widget.interactive() not showing plot in output
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
I have written a code for a widget which displays a sine wave that is adjustable by three sliders. However, when i execute the code on the first try the plot does not update. See screenshots below:


However when i rerun the entire code a second time it generates the plot and updates it as necessary.
What is the reason for this?
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
The issue includes screenshots of a widget.interactive() sine-wave example, but no code, file, test, or reproducible notebook is provided. Start by recreating the first and second executions in a Jupyter notebook and compare their output behavior. Done means identifying the cause and documenting a reproducible resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, matplotlib
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100