Skip to content

Instantly share code, notes, and snippets.

@altavir
Created July 16, 2020 16:12
Show Gist options
  • Save altavir/55e88b7ca73f5df972bd0b808edb2724 to your computer and use it in GitHub Desktop.
Save altavir/55e88b7ca73f5df972bd0b808edb2724 to your computer and use it in GitHub Desktop.
plotlykt-jupyter-demo
{
"imports": [
"scientifik.plotly.*",
"scientifik.plotly.models.*",
"hep.dataforge.meta.*",
"kotlinx.html.*"
],
"repositories": [
"*mavenLocal",
"https://dl.bintray.com/mipt-npm/dataforge",
"https://dl.bintray.com/mipt-npm/scientifik",
"https://dl.bintray.com/mipt-npm/dev"
],
"init": [
"DISPLAY(HTML(PlotlyJupyter.initScript()))"
],
"renderers": {
"scientifik.plotly.Plot2D": "HTML(PlotlyJupyter.plotToHTML($it))",
"scientifik.plotly.PlotlyPage": "HTML(PlotlyJupyter.pageToHTML($it))"
},
"link": "https://github.com/mipt-npm/plotly.kt",
"properties": {
"v": "0.2.0-dev-8"
},
"dependencies": [
"scientifik:plotlykt-server:$v"
]
}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@altavir
Copy link
Author

altavir commented Jul 16, 2020

plotly.json should be put into ~/.jupyter_kotlin/libraries/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment