Skip to content

Commit

Permalink
Added results screenshots. Updated pip for new pyvista
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Aylward <[email protected]>
  • Loading branch information
Stephen Aylward committed Dec 16, 2024
1 parent 05fe62a commit 95eff84
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 18 deletions.
49 changes: 31 additions & 18 deletions nvidia_nims/vista_3d_remote_nim.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,26 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 3,
"id": "beab0aef",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Traceback (most recent call last):\n",
" File \"<string>\", line 1, in <module>\n",
"ModuleNotFoundError: No module named 'pyvista'\n",
"\n",
"[notice] A new release of pip is available: 23.0.1 -> 24.3.1\n",
"[notice] To update, run: python.exe -m pip install --upgrade pip\n"
]
}
],
"source": [
"!python -c \"import itk\" || pip install -q \"itk\"\n",
"!python -c \"import pyvista\" || ipywidgets 'pyvista[all,trame]'"
"!python -c \"import pyvista\" || pip install -q \"pyvista[all]\""
]
},
{
Expand All @@ -96,7 +109,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 4,
"id": "3ce61753-11ad-4ade-9afe-6ad1bc748e25",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -175,7 +188,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 5,
"id": "adc99c7a-94f0-400a-afbf-70321362ded9",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -216,7 +229,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 6,
"id": "822b918b-382a-42e1-a174-080b90f14d24",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -293,7 +306,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 7,
"id": "41a4939f-71d3-4081-b383-40b4ed7c1be1",
"metadata": {},
"outputs": [],
Expand All @@ -316,7 +329,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 8,
"id": "9d2e5d21",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -346,7 +359,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 9,
"id": "aba10460-8920-4aa8-ab42-16b565c20d5f",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -375,12 +388,12 @@
"id": "fc099dab",
"metadata": {},
"source": [
"## The rest of this notebook visulizes the results"
"## The rest of this notebook visualizes the results"
]
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 10,
"id": "a4cf276b",
"metadata": {},
"outputs": [],
Expand All @@ -399,7 +412,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 11,
"id": "5b1e97fc",
"metadata": {},
"outputs": [],
Expand All @@ -411,19 +424,19 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 12,
"id": "00d28b5c",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "4fa5ace2c52446be9231daab7ff0bb5c",
"model_id": "364c68a8ed2749a4af0b3f113b41d48a",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Widget(value='<iframe src=\"http://localhost:54975/index.html?ui=P_0x1ca18ff2ad0_0&reconnect=auto\" class=\"pyvis…"
"Widget(value='<iframe src=\"http://localhost:64575/index.html?ui=P_0x1ed1380d000_0&reconnect=auto\" class=\"pyvis…"
]
},
"metadata": {},
Expand All @@ -445,19 +458,19 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 13,
"id": "bbc89987",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "7c033f03143d4830a9c62291a3c45eac",
"model_id": "82356652e3184f4e90ab80ae3ab36937",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Widget(value='<iframe src=\"http://localhost:54975/index.html?ui=P_0x1ca1b254e50_1&reconnect=auto\" class=\"pyvis…"
"Widget(value='<iframe src=\"http://localhost:64575/index.html?ui=P_0x1ed1b3932b0_1&reconnect=auto\" class=\"pyvis…"
]
},
"metadata": {},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 95eff84

Please sign in to comment.