posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.78k stars 85 forks source link

With large plotly notebook, some plots render incompletely #5311

Open testlabauto opened 6 days ago

testlabauto commented 6 days ago

System details:

Positron and OS details:

Positron Version: 2024.12.0 (Universal) build 12 OSX

Interpreter details:

Python 3.10.12

Describe the issue:

When the large notebook https://github.com/posit-dev/qa-example-content/blob/main/workspaces/large_py_notebook/spotify.ipynb is run, some of the plotly plots render incompletely:

Image

Image

Note that this also happens with VSCode.

Steps to reproduce the issue:

  1. Run the test notebook 2.Scroll through the plots, looking for incomplete plots
  2. Note that sometimes a re-run can help, but it doesn't always

Expected or desired behavior:

All plots render completely.

Were there any error messages in the UI, Output panel, or Developer Tools console?

Not sure this is related, but:

ERR Error: Notebook too large to backup at $HKb.snapshot (workbench.desktop.main.js:612819:31) at async $sF.backup (workbench.desktop.main.js:612120:27) at async workbench.desktop.main.js:582982:40

jmcphers commented 1 day ago

Triage: This reproduces with VS Code too so may not be entirely due to Positron specific plumbing/state.