vegas-viz / Vegas

The missing MatPlotLib for Scala + Spark
MIT License
730 stars 99 forks source link

Usage within the scala-spark kernel of jupyter notebooks #139

Closed javadba closed 6 years ago

javadba commented 6 years ago

Vegas is working in the spark kernel of jupyter notebooks - using the following :

import $ivy.org.vegas-viz::vegas:0.3.9

But $ivy is not supported apparently in the the scala-spark kernel. How can the Vegas be used for that kernel?

javadba commented 6 years ago

It looks like that kernel is called apache toree and from the vegas docs then:

%AddDeps org.vegas-viz vegas2.11 {vegas-version} --transitive implicit val render = vegas.render.ShowHTML(kernel.display.content("text/html", ))