Groovy Magic for Python Kernel

This experimental feature is just a beginning of system of magics for polyglot programming. See #6477 and #6279.


In [ ]:
%%groovy
println("stdout works")
f = {it + " work"}
f("results")

In [ ]:
%%groovy
new Plot(title:"plots work", initHeight: 200)

In [ ]:
%%groovy
[a:"tables", b:"work"]

In [ ]:
%%groovy
"errors work"/1

In [ ]:
%%groovy
HTML("<h1>HTML works</h1>")