jupyter / jupyter/notebook

Jupyter's dashboard breaking after plotting.

Open
#4,832 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Hello Team,

I'm having a weird issue in which the dashboard breaks after I plot a sns.countplot.
Environment details:
Server Information:
You are using Jupyter notebook.

The version of the notebook server is: 5.5.0
The server is running on this version of Python:
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
[Clang 4.0.1 (tags/RELEASE_401/final)]

Current Kernel Information:
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.7.0 -- An enhanced Interactive Python. Type '?' for help.

In here I'm plotting the data and it breaks the dashboard. Unfortunately, I can't capture both on the same screen since I have to scroll to the top of the notebook before I can see the dashboard:
![image](https://user-images.githubusercontent.com/13288836/63171305-4e281880-c009-11e9-9c41-bb90daaf384a.png)
![image](https://user-images.githubusercontent.com/13288836/63171380-7879d600-c009-11e9-8386-598cc13764a7.png)

Here, I'm commenting out the plot:
![image](https://user-images.githubusercontent.com/13288836/63171540-c4c51600-c009-11e9-8080-f8cac9ed07b2.png)

I'm running this notebook in a MacBook Pro Mojave 10.14.6

My workaround is to open the notebook in Jupyter Labs, which works well and have not had any issues yet.

Let me know if I missed or need any other details.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the dashboard failure in Jupyter Notebook 5.5.0 with Python 3.7.3 after plotting sns.countplot, then compare the result with the plot commented out and with JupyterLab. Done means the dashboard no longer breaks after the plot, with the behavior checked on the reported macOS Mojave environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.