This simple code in a single cell works in Jupyter Notebook, but Deepnote seems to render the display_javascript
calls into separate iframe
s. Is there any way to get this work in Deepnote?
from IPython.display import display_javascript
display_javascript("var a = 10", raw=True)
display_javascript("console.log(a)", raw=True)
Uncaught (in promise) ReferenceError: a is not defined
Background: I'm working on a JS charting library Jupyter integration (ipyvizzu), where I would like to access the JS chart object eventually from different cells in the notebook.