Right now there is no direct way of triggering display from the scala interpreter side.
Doing this fully would likely require a simple python server thread listening on a random localhost port preshared with the intepreter at creation. Injecting a kernel object for controlling some interaction from the scala side can be done at the same time the sparkSession bindings are created.
Right now there is no direct way of triggering display from the scala interpreter side.
Doing this fully would likely require a simple python server thread listening on a random localhost port preshared with the intepreter at creation. Injecting a kernel object for controlling some interaction from the scala side can be done at the same time the sparkSession bindings are created.