Panel: Panel does not work in VS Code notebook experience

Created on 9 Apr 2020  路  3Comments  路  Source: holoviz/panel

My Pain

I'm a user of VS Code and would like to be able to use Panel in the VS Code notebook experience. But currently I cannot.

When running the below code in an integrated notebook

import panel as pn
pn.extension()
pn.Column("# Hello Panel World")

I see

image

I'm using Panel 0.9.4 and VS Code 1.43.2.

bug

Most helpful comment

Maybe it's an issue with our inlined JS code so I'll debug first and then we can escalate to VSCode.

All 3 comments

It fails indeed on the last line, but given that panel works in the reference implementation of jupyter notebook and this errors seems to originate from vscode(-python?) (though with this quality of error reporting by vscode(-python?), it's hard to know for sure), then I would submit this to vscode-python's issue tracker. On a side note, bokeh works fine (at lest simple plotting capability).

Thanks @mattpap . I created this issue on the request of @philippjfr . So I would like him to state if I should open an issue for VS Code also or instead?

Maybe it's an issue with our inlined JS code so I'll debug first and then we can escalate to VSCode.

Was this page helpful?
0 / 5 - 0 ratings