The JS code in Py/R/Scala init() function seems to be same, can we move these JS code to the nb-extension/init/init.js file (which will be run in load_ipython_extension?
By doing so, init() function in kernel side can be simplified or even removed, so that the notebook user (Py/R/Scala) user won't need to run the init() function in kernel.
For this commit, users don't need to run declarativewidgets.init() any longer in Python.
The JS code in Py/R/Scala init() function seems to be same, can we move these JS code to the
nb-extension/init/init.js
file (which will be run in load_ipython_extension?By doing so, init() function in kernel side can be simplified or even removed, so that the notebook user (Py/R/Scala) user won't need to run the
init()
function in kernel.For this commit, users don't need to run
declarativewidgets.init()
any longer in Python.