Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple improvements in Notebooks + fix path to vtk file #145

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions notebooks/07.More-libraries/07.05-ipycytoscape.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions notebooks/07.More-libraries/07.06-ipygany.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"metadata": {},
"outputs": [],
"source": [
"bar = ColorBar(colored_mesh)\n",
"bar = ColorBar(colored_mesh, layout=dict(width='40%'))\n",
"bar"
]
},
Expand Down Expand Up @@ -172,7 +172,7 @@
"metadata": {},
"outputs": [],
"source": [
"mesh2 = TetraMesh.from_vtk('images/piston.vtu')\n",
"mesh2 = TetraMesh.from_vtk('../images/piston.vtu')\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just move assets into. this folder?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I guess it makes more sense

"\n",
"iso2 = IsoColor(mesh2, input=('RESU____DEPL', 'DX'), min=-1.3931281e-06, max=1.3929895e-06)\n",
"\n",
Expand Down Expand Up @@ -221,7 +221,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.9.5"
}
},
"nbformat": 4,
Expand Down