Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plotly descriptors #208

Closed
wants to merge 12 commits into from
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ Other options are resolving library descriptor from a local file or from remote
- [londogard-nlp-toolkit](https://github.com/londogard/londogard-nlp-toolkit) - A Natural Language Processing (NLP) toolkit for Kotlin on the JVM
- [multik](https://github.com/Kotlin/multik) - Multidimensional array library for Kotlin
- [mysql](https://github.com/mysql/mysql-connector-j) - MySql JDBC Connector
- [plotly](https://github.com/mipt-npm/plotly.kt) - An experimental plotly.kt integration module. Supports static plots and HTML dashboards.
- [plotly-server](https://github.com/mipt-npm/plotly.kt) - An experimental plotly.kt-server integration module. Allows dynamic rendering of changing plots.
- [plotly](https://github.com/mipt-npm/plotly.kt) - [beta] Plotly.kt jupyter integration for static plots.
- [plotly-server](https://github.com/mipt-npm/plotly.kt) - [beta] Plotly.kt jupyter integration for dynamic plots.
- [serialization](https://github.com/Kotlin/kotlinx.serialization) - Kotlin multi-format reflection-less serialization
- [smile](https://github.com/haifengl/smile) - Statistical Machine Intelligence and Learning Engine
- [spark](https://github.com/apache/spark) - Unified analytics engine for large-scale data processing
Expand Down
43 changes: 11 additions & 32 deletions libraries/plotly-server.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,13 @@
{
"imports": [
"kscience.plotly.*",
"kscience.plotly.models.*",
"kscience.plotly.server.JupyterPlotlyServer",
"hep.dataforge.meta.*",
"kotlinx.html.*"
],
"repositories": [
"https://repo.kotlin.link"
],
"properties": {
"v": "0.3.1",
"port": "8882"
},
"link": "https://github.com/mipt-npm/plotly.kt",
"description": "An experimental plotly.kt-server integration module. Allows dynamic rendering of changing plots.",
"dependencies": [
"kscience.plotlykt:plotlykt-server:$v"
],
"init": [
"DISPLAY(HTML(JupyterPlotlyServer.start($port).toString()))",
"DISPLAY(HTML(\"<p>Plotly.kt jupyter integration is in the development phase. Expect glitches! Classic jupyter notebook is not fully supported.</p>\"))"
],
"shutdown":[
"DISPLAY(HTML(JupyterPlotlyServer.stop().toString()))"
],
"renderers": {
"kscience.plotly.HtmlFragment": "HTML($it.toString())",
"kscience.plotly.Plot": "HTML(JupyterPlotlyServer.renderPlot($it))",
"kscience.plotly.PlotlyFragment": "HTML(JupyterPlotlyServer.renderFragment($it))",
"kscience.plotly.PlotlyPage": "HTML(JupyterPlotlyServer.renderPage($it), true)"
}
"description": "[beta] Plotly.kt jupyter integration for dynamic plots.",
"properties": {
"v": "0.4.0"
},
"link": "https://github.com/mipt-npm/plotly.kt",
"repositories": [
"https://repo.kotlin.link"
],
"dependencies": [
"space.kscience:plotlykt-server:$v"
]
}
39 changes: 11 additions & 28 deletions libraries/plotly.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
{
"imports": [
"space.kscience.plotly.*",
"space.kscience.plotly.models.*",
"space.kscience.plotly.JupyterPlotly",
"space.kscience.dataforge.meta.*",
"kotlinx.html.*"
],
"repositories": [
"https://repo.kotlin.link"
],
"properties": {
"v": "0.3.1"
},
"link": "https://github.com/mipt-npm/plotly.kt",
"description": "An experimental plotly.kt integration module. Supports static plots and HTML dashboards.",
"dependencies": [
"space.kscience:plotlykt-core-jvm:$v"
],
"init": [
"DISPLAY(HTML(JupyterPlotly.loadJs().toString()))",
"DISPLAY(HTML(\"<p>Plotly.kt jupyter integration is in the development phase. Expect glitches! Classic jupyter notebook is not fully supported.</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)"
}
"description": "[beta] Plotly.kt jupyter integration for static plots.",
"properties": {
"v": "0.4.0"
},
"link": "https://github.com/mipt-npm/plotly.kt",
"repositories": [
"https://repo.kotlin.link"
],
"dependencies": [
"space.kscience:plotlykt-jupyter:$v"
]
}