Skip to content

Commit c80453d

Browse files
committed
Couple improvements in Notebooks + fix path to vtk file
1 parent 0c2d5df commit c80453d

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

notebooks/07.More-libraries/07.05-ipycytoscape.ipynb

Lines changed: 4 additions & 8 deletions
Large diffs are not rendered by default.

notebooks/07.More-libraries/07.06-ipygany.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"metadata": {},
130130
"outputs": [],
131131
"source": [
132-
"bar = ColorBar(colored_mesh)\n",
132+
"bar = ColorBar(colored_mesh, layout=dict(width='40%'))\n",
133133
"bar"
134134
]
135135
},
@@ -172,7 +172,7 @@
172172
"metadata": {},
173173
"outputs": [],
174174
"source": [
175-
"mesh2 = TetraMesh.from_vtk('images/piston.vtu')\n",
175+
"mesh2 = TetraMesh.from_vtk('../images/piston.vtu')\n",
176176
"\n",
177177
"iso2 = IsoColor(mesh2, input=('RESU____DEPL', 'DX'), min=-1.3931281e-06, max=1.3929895e-06)\n",
178178
"\n",
@@ -207,9 +207,9 @@
207207
],
208208
"metadata": {
209209
"kernelspec": {
210-
"display_name": "widgets-tutorial",
210+
"display_name": "Python 3",
211211
"language": "python",
212-
"name": "widgets-tutorial"
212+
"name": "python3"
213213
},
214214
"language_info": {
215215
"codemirror_mode": {
@@ -221,7 +221,7 @@
221221
"name": "python",
222222
"nbconvert_exporter": "python",
223223
"pygments_lexer": "ipython3",
224-
"version": "3.8.0"
224+
"version": "3.9.5"
225225
}
226226
},
227227
"nbformat": 4,

0 commit comments

Comments
 (0)