Skip to content

Commit 3a24ef0

Browse files
committed
update lets-plot notebook examples
1 parent 98d9310 commit 3a24ef0

20 files changed

+870
-747
lines changed

examples/notebooks/lets-plot/algebraic_curve.ipynb

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{
1818
"data": {
1919
"text/html": [
20-
" <div id=\"YSjMsB\"></div>\n",
20+
" <div id=\"iXCqfv\"></div>\n",
2121
" <script type=\"text/javascript\" data-lets-plot-script=\"library\">\n",
2222
" if(!window.letsPlotCallQueue) {\n",
2323
" window.letsPlotCallQueue = [];\n",
@@ -42,9 +42,9 @@
4242
" var div = document.createElement(\"div\");\n",
4343
" div.style.color = 'darkred';\n",
4444
" div.textContent = 'Error loading Lets-Plot JS';\n",
45-
" document.getElementById(\"YSjMsB\").appendChild(div);\n",
45+
" document.getElementById(\"iXCqfv\").appendChild(div);\n",
4646
" };\n",
47-
" var e = document.getElementById(\"YSjMsB\");\n",
47+
" var e = document.getElementById(\"iXCqfv\");\n",
4848
" e.appendChild(script);\n",
4949
" })();\n",
5050
" </script>"
@@ -70,7 +70,7 @@
7070
" }\n",
7171
" (function (){\n",
7272
" var modifiers = [(function(script) {\n",
73-
" script.src = \"https://cdn.jsdelivr.net/gh/Kotlin/dataframe@d6467c1389bc031958acd5310fce39167b5cc581/src/main/resources/init.js\"\n",
73+
" script.src = \"https://cdn.jsdelivr.net/gh/Kotlin/dataframe@3db46ccccaa1291c0627307d64133317f545e6ae/core/src/main/resources/init.js\"\n",
7474
" script.type = \"text/javascript\";\n",
7575
"})];\n",
7676
" var e = document.getElementById(\"kotlin_out_0\");\n",
@@ -136,6 +136,10 @@
136136
" --link-hover: #00688e;\n",
137137
"}\n",
138138
"\n",
139+
"p.dataframe_description {\n",
140+
" color: var(--text-color-dark);\n",
141+
"}\n",
142+
"\n",
139143
"table.dataframe {\n",
140144
" font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n",
141145
" font-size: 12px;\n",
@@ -260,7 +264,7 @@
260264
],
261265
"source": [
262266
"%useLatestDescriptors\n",
263-
"%use ggdsl(0.2.5-dev-2)"
267+
"%use ggdsl"
264268
]
265269
},
266270
{
@@ -322,7 +326,7 @@
322326
{
323327
"data": {
324328
"text/html": [
325-
" <div id=\"8AY7aK\"></div>\n",
329+
" <div id=\"zrejaS\"></div>\n",
326330
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
327331
" (function() {\n",
328332
" var plotSpec={\n",
@@ -373,7 +377,7 @@
373377
"\"axis_ontop_x\":false\n",
374378
"}\n",
375379
"};\n",
376-
" var plotContainer = document.getElementById(\"8AY7aK\");\n",
380+
" var plotContainer = document.getElementById(\"zrejaS\");\n",
377381
" window.letsPlotCall(function() {{\n",
378382
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
379383
" }});\n",
@@ -426,7 +430,7 @@
426430
"name": "kotlin",
427431
"nbconvert_exporter": "",
428432
"pygments_lexer": "kotlin",
429-
"version": "1.8.0-dev-3517"
433+
"version": "1.8.0-RC"
430434
}
431435
},
432436
"nbformat": 4,

examples/notebooks/lets-plot/binstat_histogram.ipynb

Lines changed: 42 additions & 81 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)