widget.interactive() not showing plot in output

Open
#67 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
jupyter-notebook, matplotlib

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.

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:

screen shot 2018-10-05 at 10 17 05 am

screen shot 2018-10-05 at 10 17 20 am

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?

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

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.

More from matplotlib/ipympl

All issues in matplotlib/ipympl

Similar issues

More Data Visualization issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.