Skip to content

Commit 8c941bc

Browse files
authored
Merge pull request #204 from marimeireles/improvs-widg
Fix nb name in 0702, fix link 0703, improve data handling 0602
2 parents 88d1ff2 + 8f0a8ba commit 8c941bc

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

notebooks/06.More_widget_libraries/06.02-ipycytoscape.ipynb

+11-15
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@
6464
{
6565
"cell_type": "markdown",
6666
"id": "e47299e7",
67-
"metadata": {},
67+
"metadata": {
68+
"tags": []
69+
},
6870
"source": [
6971
"### **cytoscape json**"
7072
]
@@ -270,7 +272,7 @@
270272
"metadata": {},
271273
"outputs": [],
272274
"source": [
273-
"edge = cy.Edge(data={\"source\": 'parent-2', \"target\": 'parent-1'})\n",
275+
"edge = cy.Edge(data={\"source\": 'c3po', \"target\": 'r2d2'})\n",
274276
"pdCy.graph.add_edge(edge)"
275277
]
276278
},
@@ -304,23 +306,17 @@
304306
"outputs": [],
305307
"source": [
306308
"pdCy.set_style([ \n",
307-
" {\n",
308-
" 'selector': 'node[name] *= \"\"',\n",
309-
" 'style': {\n",
310-
" 'background-color': 'blue',\n",
311-
" }},\n",
312309
" {\n",
313-
" 'selector': '[id *= \"parent-1\"]',\n",
310+
" 'selector': '[name *= \"c3po\"]',\n",
314311
" 'style': {\n",
315312
" 'background-color': 'yellow',\n",
316313
" }},\n",
317-
" {\n",
318-
" 'selector': '[id *= \"parent-2\"]',\n",
319-
" 'style': {\n",
320-
" 'background-color': 'red',\n",
321-
" 'color': 'blue'\n",
322-
" }\n",
323-
" }])"
314+
" {\n",
315+
" 'selector': '[name *= \"r2d2\"]',\n",
316+
" 'style': {\n",
317+
" 'background-color': 'blue',\n",
318+
" }},\n",
319+
" ])"
324320
]
325321
},
326322
{

notebooks/07.Widgets_outside_notebook_context/07.02-voila-vuetify.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"source": [
142142
"# Running locally with voila\n",
143143
"```\n",
144-
"$ voila --template vuetify-default --enable_nbextensions=True ./notebooks/08.02-voila-vuetify.ipynb\n",
144+
"$ voila --template vuetify-default --enable_nbextensions=True ./notebooks/07.02-voila-vuetify.ipynb\n",
145145
"```\n",
146146
"\n",
147147
"# Run it on mybinder\n",

notebooks/07.Widgets_outside_notebook_context/07.03-jupyterlite.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"source": [
2626
"# Lightweight Jupyter Frontend running in the browser\n",
2727
"\n",
28-
"<img src=\"https://raw.githubusercontent.com/jupyterlite/jupyterlite/main/docs/_static/badge-launch.svg\" width=128 />\n",
28+
"https://jupyterlite.github.io/demo/lab/index.html\n",
2929
"\n",
3030
"### ✅ no server\n",
3131
"\n",

0 commit comments

Comments
 (0)