You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to define new global variables/values in the notebook both from library descriptors and the Notebook reflection API.
My current use case is the following: I want to be able to change the properties of the plotly server from inside the notebook. For example, I would like to start it, stop it, and change the port. Ideal way is to write something like this:
In order to do that In should be able to define new properties through the notebook API like fun Builder.define(map: Map<String, Any>) or defineVariable(map: Map<String, Any>).
Current workaround suggested by @ileasile is to define empty variable via script execution:
val conf = execute("val libConf = LibConf(...); libConf").value asLibConf
I would like to be able to define new global variables/values in the notebook both from library descriptors and the Notebook reflection API.
My current use case is the following: I want to be able to change the properties of the plotly server from inside the notebook. For example, I would like to start it, stop it, and change the port. Ideal way is to write something like this:
In order to do that In should be able to define new properties through the notebook API like
fun Builder.define(map: Map<String, Any>)
ordefineVariable(map: Map<String, Any>)
.Current workaround suggested by @ileasile is to define empty variable via script execution:
and then substitute the value via
The text was updated successfully, but these errors were encountered: