Skip to content

Commit 360e81f

Browse files
committed
Fix nb name in 0702, fix link 0703, improve data handling 0602
1 parent 88d1ff2 commit 360e81f

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

notebooks/06.More_widget_libraries/06.02-ipycytoscape.ipynb

+13-17
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
{
@@ -731,9 +727,9 @@
731727
],
732728
"metadata": {
733729
"kernelspec": {
734-
"display_name": "widgets-tutorial",
730+
"display_name": "Python 3 (ipykernel)",
735731
"language": "python",
736-
"name": "widgets-tutorial"
732+
"name": "python3"
737733
},
738734
"language_info": {
739735
"codemirror_mode": {

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

+3-3
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",
@@ -159,9 +159,9 @@
159159
],
160160
"metadata": {
161161
"kernelspec": {
162-
"display_name": "widgets-tutorial",
162+
"display_name": "Python 3 (ipykernel)",
163163
"language": "python",
164-
"name": "widgets-tutorial"
164+
"name": "python3"
165165
},
166166
"language_info": {
167167
"codemirror_mode": {

notebooks/07.Widgets_outside_notebook_context/07.03-jupyterlite.ipynb

+3-3
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",
@@ -199,9 +199,9 @@
199199
],
200200
"metadata": {
201201
"kernelspec": {
202-
"display_name": "widgets-tutorial",
202+
"display_name": "Python 3 (ipykernel)",
203203
"language": "python",
204-
"name": "widgets-tutorial"
204+
"name": "python3"
205205
},
206206
"language_info": {
207207
"codemirror_mode": {

0 commit comments

Comments
 (0)