Skip to content

Commit

Permalink
Build, deploy LPK 3.1.1, update demos.
Browse files Browse the repository at this point in the history
  • Loading branch information
alshan committed Dec 13, 2021
1 parent c4f92c8 commit a5047ca
Show file tree
Hide file tree
Showing 26 changed files with 869 additions and 623 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ project.extra["buildSettings"] = settings

allprojects {
group = "org.jetbrains.lets-plot"
version = "3.1.1-alpha3"
version = "3.1.2-alpha1"

val version = version as String
var versionIsDev: Boolean by extra
Expand Down
2 changes: 1 addition & 1 deletion demo/js-frontend-app/src/main/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/gh/JetBrains/[email protected].1rc1/js-package/distr/lets-plot.min.js"></script>
src="https://cdn.jsdelivr.net/gh/JetBrains/[email protected].1/js-package/distr/lets-plot.min.js"></script>
<script src="js-frontend-app.js"></script>
<div>
<h2>Lets-Plot Kotlin/JS Demo.</h2>
Expand Down
34 changes: 17 additions & 17 deletions docs/examples/jupyter-notebooks/contours.ipynb

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions docs/examples/jupyter-notebooks/coord_flip.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"data": {
"text/html": [
" <div id=\"DuWmEc\"></div>\n",
" <div id=\"nLi6IV\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"library\">\n",
" if(!window.letsPlotCallQueue) {\n",
" window.letsPlotCallQueue = [];\n",
Expand All @@ -20,7 +20,7 @@
" (function() {\n",
" var script = document.createElement(\"script\");\n",
" script.type = \"text/javascript\";\n",
" script.src = \"https://cdn.jsdelivr.net/gh/JetBrains/[email protected].0/js-package/distr/lets-plot.min.js\";\n",
" script.src = \"https://cdn.jsdelivr.net/gh/JetBrains/[email protected].1/js-package/distr/lets-plot.min.js\";\n",
" script.onload = function() {\n",
" window.letsPlotCall = function(f) {f();};\n",
" window.letsPlotCallQueue.forEach(function(f) {f();});\n",
Expand All @@ -34,9 +34,9 @@
" var div = document.createElement(\"div\");\n",
" div.style.color = 'darkred';\n",
" div.textContent = 'Error loading Lets-Plot JS';\n",
" document.getElementById(\"DuWmEc\").appendChild(div);\n",
" document.getElementById(\"nLi6IV\").appendChild(div);\n",
" };\n",
" var e = document.getElementById(\"DuWmEc\");\n",
" var e = document.getElementById(\"nLi6IV\");\n",
" e.appendChild(script);\n",
" })();\n",
" </script>"
Expand Down Expand Up @@ -94,7 +94,7 @@
{
"data": {
"text/html": [
" <div id=\"jWAoOP\"></div>\n",
" <div id=\"MthojE\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -147,7 +147,7 @@
"\"axis_title_x\":\"blank\"\n",
"}\n",
"};\n",
" var plotContainer = document.getElementById(\"jWAoOP\");\n",
" var plotContainer = document.getElementById(\"MthojE\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -180,7 +180,7 @@
{
"data": {
"text/html": [
" <div id=\"z5mN4X\"></div>\n",
" <div id=\"nKD311\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -237,7 +237,7 @@
"\"axis_title_x\":\"blank\"\n",
"}\n",
"};\n",
" var plotContainer = document.getElementById(\"z5mN4X\");\n",
" var plotContainer = document.getElementById(\"nKD311\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand All @@ -263,7 +263,7 @@
{
"data": {
"text/html": [
" <div id=\"XE4EDt\"></div>\n",
" <div id=\"KFpnoB\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -312,7 +312,7 @@
"\"axis_title_x\":\"blank\"\n",
"}\n",
"};\n",
" var plotContainer = document.getElementById(\"XE4EDt\");\n",
" var plotContainer = document.getElementById(\"KFpnoB\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -346,7 +346,7 @@
{
"data": {
"text/html": [
" <div id=\"onkMpX\"></div>\n",
" <div id=\"zF8Ukr\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -399,7 +399,7 @@
"\"axis_title_x\":\"blank\"\n",
"}\n",
"};\n",
" var plotContainer = document.getElementById(\"onkMpX\");\n",
" var plotContainer = document.getElementById(\"zF8Ukr\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -430,7 +430,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.6.20-dev-3702"
"version": "1.6.20-dev-6372"
}
},
"nbformat": 4,
Expand Down
34 changes: 17 additions & 17 deletions docs/examples/jupyter-notebooks/correlation_plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{
"data": {
"text/html": [
" <div id=\"IczMV5\"></div>\n",
" <div id=\"NTnslg\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"library\">\n",
" if(!window.letsPlotCallQueue) {\n",
" window.letsPlotCallQueue = [];\n",
Expand All @@ -38,7 +38,7 @@
" (function() {\n",
" var script = document.createElement(\"script\");\n",
" script.type = \"text/javascript\";\n",
" script.src = \"https://cdn.jsdelivr.net/gh/JetBrains/[email protected].0/js-package/distr/lets-plot.min.js\";\n",
" script.src = \"https://cdn.jsdelivr.net/gh/JetBrains/[email protected].1/js-package/distr/lets-plot.min.js\";\n",
" script.onload = function() {\n",
" window.letsPlotCall = function(f) {f();};\n",
" window.letsPlotCallQueue.forEach(function(f) {f();});\n",
Expand All @@ -52,9 +52,9 @@
" var div = document.createElement(\"div\");\n",
" div.style.color = 'darkred';\n",
" div.textContent = 'Error loading Lets-Plot JS';\n",
" document.getElementById(\"IczMV5\").appendChild(div);\n",
" document.getElementById(\"NTnslg\").appendChild(div);\n",
" };\n",
" var e = document.getElementById(\"IczMV5\");\n",
" var e = document.getElementById(\"NTnslg\");\n",
" e.appendChild(script);\n",
" })();\n",
" </script>"
Expand Down Expand Up @@ -141,7 +141,7 @@
{
"data": {
"text/html": [
" <div id=\"u70vPC\"></div>\n",
" <div id=\"zpRd0w\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -654,7 +654,7 @@
"\"height\":320\n",
"}]\n",
"};\n",
" var plotContainer = document.getElementById(\"u70vPC\");\n",
" var plotContainer = document.getElementById(\"zpRd0w\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -694,7 +694,7 @@
{
"data": {
"text/html": [
" <div id=\"v6MLUH\"></div>\n",
" <div id=\"0yMDGh\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -996,7 +996,7 @@
"\"height\":320\n",
"}]\n",
"};\n",
" var plotContainer = document.getElementById(\"v6MLUH\");\n",
" var plotContainer = document.getElementById(\"0yMDGh\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -1040,7 +1040,7 @@
{
"data": {
"text/html": [
" <div id=\"2xI5JT\"></div>\n",
" <div id=\"5IRFv8\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -1361,7 +1361,7 @@
"\"height\":295\n",
"}]\n",
"};\n",
" var plotContainer = document.getElementById(\"2xI5JT\");\n",
" var plotContainer = document.getElementById(\"5IRFv8\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -1439,7 +1439,7 @@
{
"data": {
"text/html": [
" <div id=\"Xt73yM\"></div>\n",
" <div id=\"j5yyTu\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -1534,7 +1534,7 @@
"}\n",
"}\n",
"};\n",
" var plotContainer = document.getElementById(\"Xt73yM\");\n",
" var plotContainer = document.getElementById(\"j5yyTu\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -1572,7 +1572,7 @@
{
"data": {
"text/html": [
" <div id=\"Ty9kk0\"></div>\n",
" <div id=\"5j7CsE\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -1670,7 +1670,7 @@
"}\n",
"}\n",
"};\n",
" var plotContainer = document.getElementById(\"Ty9kk0\");\n",
" var plotContainer = document.getElementById(\"5j7CsE\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -1706,7 +1706,7 @@
{
"data": {
"text/html": [
" <div id=\"dzkcrM\"></div>\n",
" <div id=\"C0ZG0l\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -1833,7 +1833,7 @@
"}\n",
"}\n",
"};\n",
" var plotContainer = document.getElementById(\"dzkcrM\");\n",
" var plotContainer = document.getElementById(\"C0ZG0l\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
Expand Down Expand Up @@ -1868,7 +1868,7 @@
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.6.20-dev-3702"
"version": "1.6.20-dev-6372"
}
},
"nbformat": 4,
Expand Down
92 changes: 46 additions & 46 deletions docs/examples/jupyter-notebooks/density_2d.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit a5047ca

Please sign in to comment.