44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
|
{
|
||
|
"imports": [
|
||
|
"kscience.plotly.*",
|
||
|
"kscience.plotly.models.*",
|
||
|
"kscience.plotly.JupyterPlotly",
|
||
|
"space.kscience.dataforge.meta.*",
|
||
|
"kotlinx.html.*"
|
||
|
],
|
||
|
"repositories": [
|
||
|
"*mavenLocal",
|
||
|
"https://dl.bintray.com/mipt-npm/dataforge",
|
||
|
"https://dl.bintray.com/mipt-npm/kscience",
|
||
|
"https://dl.bintray.com/mipt-npm/dev"
|
||
|
],
|
||
|
"properties": {
|
||
|
"v": "0.2.0"
|
||
|
},
|
||
|
"link": "https://github.com/mipt-npm/plotly.kt",
|
||
|
"dependencies": [
|
||
|
"kscience.plotlykt:plotlykt-core-jvm:$v"
|
||
|
],
|
||
|
"resources": [
|
||
|
{
|
||
|
"type": "JS",
|
||
|
"name": "Plotly",
|
||
|
"locations": [
|
||
|
{
|
||
|
"path": "https://cdn.plot.ly/plotly-latest.min.js",
|
||
|
"type": "URL"
|
||
|
},
|
||
|
{
|
||
|
"path": "js/plotly.min.js",
|
||
|
"type": "CLASSPATH_PATH"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"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)"
|
||
|
}
|
||
|
}
|