Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Jupyter interactive display inside output order dependant #17576

Copy link
Copy link
Open
@shaielc

Description

@shaielc
Issue body actions

Bug report

Bug summary

Plot not being displayed using notebook toolkit on the output widget depending on order of output.

Code for reproduction

cell 1:

%matplotlib notebook
from matplotlib import pyplot as plt
import ipywidgets as wg

cell 2:

test_out = wg.Output()
display(test_out)
with test_out:
    plt.figure()
    plt.plot([1,2,3])

cell 3:

test_out = wg.Output()
with test_out:
    plt.figure()
    plt.plot([1,2,3])
display(test_out)

Actual outcome

mpl_bug

Expected outcome

same output for cell 3 as cell 2:

mpl_bug

Matplotlib version

  • Operating system: win
  • Matplotlib version: 3.0.2
  • Matplotlib backend : nbAgg
  • Python version: Python 3.7.1
  • Jupyter version (if applicable): 5.7.4
  • Other libraries: ipywidgets 7.5.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.