2021-01-31 11:17:55 +03:00
|
|
|
{
|
|
|
|
"imports": [
|
|
|
|
"kscience.plotly.*",
|
|
|
|
"kscience.plotly.models.*",
|
|
|
|
"kscience.plotly.JupyterPlotly",
|
2021-03-08 22:58:28 +03:00
|
|
|
"space.kscience.dataforge.meta.*",
|
2021-01-31 11:17:55 +03:00
|
|
|
"kotlinx.html.*",
|
|
|
|
"ru.inr.mass.workspace.*"
|
|
|
|
],
|
|
|
|
"repositories": [
|
|
|
|
"*mavenLocal",
|
|
|
|
"https://dl.bintray.com/mipt-npm/dataforge",
|
|
|
|
"https://dl.bintray.com/mipt-npm/kscience",
|
2021-01-31 12:08:00 +03:00
|
|
|
"https://dl.bintray.com/mipt-npm/dev",
|
|
|
|
"https://kotlin.bintray.com/kotlinx"
|
2021-01-31 11:17:55 +03:00
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"v": "0.1.0-SNAPSHOT"
|
|
|
|
},
|
|
|
|
"link": "https://mipt-npm.jetbrains.space/p/numass/code/numass",
|
|
|
|
"dependencies": [
|
|
|
|
"ru.inr.mass:numass-workspace:$v"
|
|
|
|
],
|
|
|
|
"init": [
|
|
|
|
"DISPLAY(HTML(JupyterPlotly.loadJs().toString()))",
|
|
|
|
"DISPLAY(HTML(\"<p>Plotly.kt jupyter integration is in the development phase. Expect glitches!</p>\"))"
|
|
|
|
],
|
|
|
|
"renderers": {
|
|
|
|
"kscience.plotly.HtmlFragment": "HTML($it.toString())",
|
|
|
|
"kscience.plotly.Plot": "HTML(JupyterPlotly.renderPlot($it))",
|
|
|
|
"kscience.plotly.PlotlyFragment": "HTML(JupyterPlotly.renderFragment($it))",
|
|
|
|
"kscience.plotly.PlotlyPage": "HTML(JupyterPlotly.renderPage($it), true)",
|
2021-01-31 12:08:00 +03:00
|
|
|
"ru.inr.mass.data.proto.NumassDirectorySet": "HTML(JupyterPlotly.renderPage(${it.plotlyPage()}), true)"
|
2021-01-31 11:17:55 +03:00
|
|
|
}
|
|
|
|
}
|