You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Jupyter interactive plot crops the canvas in Chrome #18206
As you can see, the interactive plot is cropped to the top left corner. Inspecting the HTML shows that the height and width are undefined. Therefore, chrome defaults to the size 300 x 150
Closing the tab and rerunning in Firefox, I get no issues.
The shrunk canvas is still interactive (you can still pan the y-axis up and down), but obviously the height and width calculations went awry. I have tried restarting the Jupyter server (and the notebook kernel) and I still get the same result in Chrome.
Note: using %matplotlib inline works fine in Chrome.
To summarize, I only get this issue when I use %matplotlib notebook in Chrome. I don't know if switching to Windows would resolve this problem (I use Ubuntu 20.04).
Versions
I am running Jupyter in a virtual environment managed by Poetry.
Activity
jklymak commentedon Aug 9, 2020
Sorry for the inconvenience. This is a duplicate of #18132 and fixed in #18142 which will be in 3.3.1
nmay231 commentedon Aug 9, 2020
No problem @jklymak, just glad it got fixed 👍