Skip to content

Commit 01d67d0

Browse files
committed
Rerun demo notebooks.
1 parent 99443be commit 01d67d0

File tree

8 files changed

+83752
-1644
lines changed

8 files changed

+83752
-1644
lines changed

docs/examples/jupyter-notebooks/f-4.11.0/geom_crossbar_annotation.ipynb

Lines changed: 1905 additions & 19 deletions
Large diffs are not rendered by default.

docs/examples/jupyter-notebooks/f-4.11.0/geom_sina.ipynb

Lines changed: 71172 additions & 224 deletions
Large diffs are not rendered by default.

docs/examples/jupyter-notebooks/f-4.11.0/ggrepel.ipynb

Lines changed: 101 additions & 62 deletions
Large diffs are not rendered by default.

docs/examples/jupyter-notebooks/f-4.11.0/numeric_data_on_discrete_scale.ipynb

Lines changed: 53 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
{
231231
"data": {
232232
"text/html": [
233-
" <div id=\"mlH61t\"></div>\n",
233+
" <div id=\"i1cUwp\"></div>\n",
234234
" <script type=\"text/javascript\" data-lets-plot-script=\"library\">\n",
235235
" if(!window.letsPlotCallQueue) {\n",
236236
" window.letsPlotCallQueue = [];\n",
@@ -255,16 +255,63 @@
255255
" var div = document.createElement(\"div\");\n",
256256
" div.style.color = 'darkred';\n",
257257
" div.textContent = 'Error loading Lets-Plot JS';\n",
258-
" document.getElementById(\"mlH61t\").appendChild(div);\n",
258+
" document.getElementById(\"i1cUwp\").appendChild(div);\n",
259259
" };\n",
260-
" var e = document.getElementById(\"mlH61t\");\n",
260+
" var e = document.getElementById(\"i1cUwp\");\n",
261261
" e.appendChild(script);\n",
262262
" })();\n",
263263
" </script>"
264264
]
265265
},
266266
"metadata": {},
267267
"output_type": "display_data"
268+
},
269+
{
270+
"data": {
271+
"text/html": [
272+
" <div id=\"kotlin_out_1\"></div>\n",
273+
" <script type=\"text/javascript\">\n",
274+
" if(!window.kotlinQueues) {\n",
275+
" window.kotlinQueues = {};\n",
276+
" }\n",
277+
" if(!window.kotlinQueues[\"letsPlotJs\"]) {\n",
278+
" var resQueue = [];\n",
279+
" window.kotlinQueues[\"letsPlotJs\"] = resQueue;\n",
280+
" window[\"call_letsPlotJs\"] = function(f) {\n",
281+
" resQueue.push(f);\n",
282+
" }\n",
283+
" }\n",
284+
" (function (){\n",
285+
" var modifiers = [(function(script) {\n",
286+
" script.src = \"https://cdn.jsdelivr.net/gh/JetBrains/[email protected]/js-package/distr/lets-plot.min.js\"\n",
287+
" script.type = \"text/javascript\";\n",
288+
"})];\n",
289+
" var e = document.getElementById(\"kotlin_out_1\");\n",
290+
" modifiers.forEach(function (gen) {\n",
291+
" var script = document.createElement(\"script\");\n",
292+
" gen(script)\n",
293+
" script.addEventListener(\"load\", function() {\n",
294+
" window[\"call_letsPlotJs\"] = function(f) {f();};\n",
295+
" window.kotlinQueues[\"letsPlotJs\"].forEach(function(f) {f();});\n",
296+
" window.kotlinQueues[\"letsPlotJs\"] = [];\n",
297+
" }, false);\n",
298+
" script.addEventListener(\"error\", function() {\n",
299+
" window[\"call_letsPlotJs\"] = function(f) {};\n",
300+
" window.kotlinQueues[\"letsPlotJs\"] = [];\n",
301+
" var div = document.createElement(\"div\");\n",
302+
" div.style.color = 'darkred';\n",
303+
" div.textContent = 'Error loading resource letsPlotJs';\n",
304+
" document.getElementById(\"kotlin_out_1\").appendChild(div);\n",
305+
" }, false);\n",
306+
" \n",
307+
" e.appendChild(script);\n",
308+
" });\n",
309+
" })();\n",
310+
" </script>"
311+
]
312+
},
313+
"metadata": {},
314+
"output_type": "display_data"
268315
}
269316
],
270317
"source": [
@@ -282,7 +329,7 @@
282329
{
283330
"data": {
284331
"text/plain": [
285-
"Lets-Plot Kotlin API v.4.7.0. Frontend: Notebook with dynamically loaded JS. Lets-Plot JS v.4.7.0."
332+
"Lets-Plot Kotlin API v.4.11.0. Frontend: Notebook with dynamically loaded JS. Lets-Plot JS v.4.7.0."
286333
]
287334
},
288335
"execution_count": 2,
@@ -328,7 +375,7 @@
328375
{
329376
"data": {
330377
"text/html": [
331-
" <div id=\"9qh3FN\"></div>\n",
378+
" <div id=\"sDeOwQ\"></div>\n",
332379
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
333380
" \n",
334381
" (function() {\n",
@@ -353,7 +400,7 @@
353400
" };\n",
354401
" }\n",
355402
" \n",
356-
" const containerDiv = document.getElementById(\"9qh3FN\");\n",
403+
" const containerDiv = document.getElementById(\"sDeOwQ\");\n",
357404
" let fig = null;\n",
358405
" \n",
359406
" function renderPlot() {\n",

0 commit comments

Comments
 (0)