Skip to content

Plotly graphs stop loading if many are loaded in the same notebook #15549

Open
@amunger

Description

@amunger

From linked issue:

Keeping up with the Plotly graphs within VSCode Insiders and all the pre-releases, I did a Kaggle notebook with a lot of them (you can find it here When downloading the code, its size is only 52MB, and the same code in VSCode (with more or less the same imports) has a size of 94.1 MB. At the end of the post I attach both notebooks.

Additionally to the above, when running the entire notebook (meaning clicking "Run All") with the Plotly graphs in interactive mode (where you can hover over the data and so), the graphs do not render, although the code runs amazingly fast. It is necessary to execute cell by cell to have the graphs rendered properly (although some of them throw an error). This didn't happen on Kaggle, where I executed all the cells and the graphs rendered normally.

Also something very strange is that if I try to open the Kaggle's notebook in VSCode, I get this error:

Screenshot 2024-04-14 at 17 04 26

My apologies in advance for flooding the comments over the weekend 😅

Best

kaggle_code.ipynb.zip

vscode_code.ipynb.zip

Originally posted by @ale-dg in #14459 (comment)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugnotebook-outputperfPerformance issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions