Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In a notebook, bqplots are incomplete or placed behind code cell #5516

Open
testlabauto opened this issue Nov 26, 2024 · 0 comments
Open

In a notebook, bqplots are incomplete or placed behind code cell #5516

testlabauto opened this issue Nov 26, 2024 · 0 comments
Labels
area: notebooks Issues related to Notebooks category.

Comments

@testlabauto
Copy link
Contributor

System details:

Positron and OS details:

Positron Version: 2024.12.0 (Universal) build 80
OSX

Interpreter details:

Python 3.10.12

Describe the issue:

Using (see BQPlot section):
Plots and Widgets Notebook

If the same snippet is run from the console, it looks like:
Image

When run from a notebook, though, we see:
Image

So its a little unclear if it just didn't draw completely or if it is behind the code block.

Steps to reproduce the issue:

  1. Run the BQPlot cell in Plots and Widgets Notebook

Expected or desired behavior:

Proper plot in notebook

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

index.js:65 Error: Could not create child view
at index.js:65:12018
at async Promise.all (vscode-webview://1a3g1f34slfks2msbo01jueqa7ivgk56tlpuogagf5008lb6bmj5/index 0)
(anonymous) @ index.js:65
Promise.catch (async)
create_child_view @ index.js:73
add_child_model @ index.js:77
update @ index.js:73
update_children @ index.js:77
render @ index.js:77
(anonymous) @ index.js:87
Promise.then (async)
create_view @ index.js:87
renderOutputItem @ index.js:89
await in renderOutputItem (async)
renderOutputItem @ notebookWebviewPreloads.js:1501
await in renderOutputItem (async)
h @ notebookWebviewPreloads.js:1785
render @ notebookWebviewPreloads.js:1758
render @ notebookWebviewPreloads.js:2362
renderOutputElement @ notebookWebviewPreloads.js:2206
renderOutputCell @ notebookWebviewPreloads.js:1925
await in renderOutputCell (async)
(anonymous) @ notebookWebviewPreloads.js:1327
c.set.queue @ notebookWebviewPreloads.js:1654
enqueue @ notebookWebviewPreloads.js:1654
(anonymous) @ notebookWebviewPreloads.js:1325
postMessage (async)
(anonymous) @ index.html?id=1837803f-9e71-4ad6-a111-63953414d00c&origin=ff8f28bd-76e6-4685-86ec-f529f8e9b1a2&swVersion=4&extensionId=&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=notebookRenderer:1239
HostMessaging.channel.port1.onmessage @ index.html?id=1837803f-9e71-4ad6-a111-63953414d00c&origin=ff8f28bd-76e6-4685-86ec-f529f8e9b1a2&swVersion=4&extensionId=&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=notebookRenderer:323
index.js:89 positron-ipywidgets renderer: done!
index.js:65 Error: Could not add child view to box
at index.js:65:12018
at async Promise.all (vscode-webview://1a3g1f34slfks2msbo01jueqa7ivgk56tlpuogagf5008lb6bmj5/index 0)
(anonymous) @ index.js:65
Promise.catch (async)
add_child_model @ index.js:77
update @ index.js:73
update_children @ index.js:77
render @ index.js:77
(anonymous) @ index.js:87
Promise.then (async)
create_view @ index.js:87
renderOutputItem @ index.js:89
await in renderOutputItem (async)
renderOutputItem @ notebookWebviewPreloads.js:1501
await in renderOutputItem (async)
h @ notebookWebviewPreloads.js:1785
render @ notebookWebviewPreloads.js:1758
render @ notebookWebviewPreloads.js:2362
renderOutputElement @ notebookWebviewPreloads.js:2206
renderOutputCell @ notebookWebviewPreloads.js:1925
await in renderOutputCell (async)
(anonymous) @ notebookWebviewPreloads.js:1327
c.set.queue @ notebookWebviewPreloads.js:1654
enqueue @ notebookWebviewPreloads.js:1654
(anonymous) @ notebookWebviewPreloads.js:1325
postMessage (async)
(anonymous) @ index.html?id=1837803f-9e71-4ad6-a111-63953414d00c&origin=ff8f28bd-76e6-4685-86ec-f529f8e9b1a2&swVersion=4&extensionId=&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=notebookRenderer:1239
HostMessaging.channel.port1.onmessage @ index.html?id=1837803f-9e71-4ad6-a111-63953414d00c&origin=ff8f28bd-76e6-4685-86ec-f529f8e9b1a2&swVersion=4&extensionId=&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=notebookRenderer:323
index.js:87 Uncaught (in promise) Error: widget model not found
at vg.get_model (index.js:87:1275)
at Mr (index.js:73:199432)
at Object.Mr [as deserialize] (index.js:73:199231)
at l._deserialize_state (index.js:73:205481)
at index.js:73:201790

@testlabauto testlabauto added the area: notebooks Issues related to Notebooks category. label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: notebooks Issues related to Notebooks category.
Projects
None yet
Development

No branches or pull requests

1 participant