vatlab / sos-notebook

Multi-language Jupyter Notebook
http://vatlab.github.io/SoS
BSD 3-Clause "New" or "Revised" License
176 stars 17 forks source link

Dealing with subkernel extensions (JS) #233

Open BoPeng opened 5 years ago

BoPeng commented 5 years ago

Sitting in SciPy2019 watching a demonstration using JupyterLab + a Python notebook and a C++ notebook with Voila. It would be interesting to see if a SoS Notebook can be used to combine these two notebooks. One of the problems is that the two sets of "widgets" would be displayed in the same voila panel.

Need to ask @SylvainCorlay for the notebooks used for links to the presentation though.

BoPeng commented 5 years ago

Note that there is known problem with SoS kernel and ipywidgets because the SoS kernel stands between the widgets and the subkernel and jupyter dislikes the change of "ownership" of messages.

BoPeng commented 5 years ago

@maartenbreddels pointed me to the two demo notebooks at https://github.com/QuantStack/quantstack-talks/tree/master/2019-07-10-SciPy-voila and the live version at https://github.com/maartenbreddels/voila-demo .

BoPeng commented 5 years ago

01-bqplot.ipynb in python3 kernel runs fine thanks to #234 .

03-bqplot-vuetify.ipynb does not run because it makes use of JS code, which might have interfered with SoS' JS code.