diff --git a/examples/integrations/itk/3DImage.ipynb b/examples/integrations/itk/3DImage.ipynb index ab6e7cb8..2bb1a9db 100644 --- a/examples/integrations/itk/3DImage.ipynb +++ b/examples/integrations/itk/3DImage.ipynb @@ -15,19 +15,23 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "metadata": { + "tags": [] + }, "outputs": [], "source": [ "# Install dependencies for this example\n", "import sys\n", "\n", - "!{sys.executable} -m pip install -q \"itk-io>=5.3.0\" \"itkwidgets[all]>=1.0a23\"" + "!{sys.executable} -m pip install -q pooch tqdm \"itk-io>=5.3.0\" \"itkwidgets[all]>=1.0a40\"" ] }, { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "metadata": { + "tags": [] + }, "outputs": [], "source": [ "import itk\n", @@ -37,9 +41,20 @@ }, { "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], + "execution_count": 3, + "metadata": { + "tags": [] + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Downloading data from 'https://data.kitware.com/api/v1/file/564a5b078d777f7522dbfaa6/download' to file '/home/matt/.cache/pooch/005_32months_T2_RegT1_Reg2Atlas_ManualBrainMask_Stripped.nrrd'.\n", + "100%|█████████████████████████████████████| 8.23M/8.23M [00:00<00:00, 14.3GB/s]\n" + ] + } + ], "source": [ "file_name = pooch.retrieve('https://data.kitware.com/api/v1/file/564a5b078d777f7522dbfaa6/download',\n", " fname='005_32months_T2_RegT1_Reg2Atlas_ManualBrainMask_Stripped.nrrd',\n", @@ -49,18 +64,20 @@ }, { "cell_type": "code", - "execution_count": 6, - "metadata": {}, + "execution_count": 4, + "metadata": { + "tags": [] + }, "outputs": [ { "data": { "text/html": [ "\n", - " \n", + " \n", " \n", @@ -76,7 +93,7 @@ { "data": { "application/javascript": [ - "window.connectPlugin && window.connectPlugin(\"3d5e2590-ff9d-4e61-944f-987f783e2795\")" + "window.connectPlugin && window.connectPlugin(\"f1d7407e-5af7-4d6f-a3df-0579c97a36f2\")" ], "text/plain": [ "" @@ -88,7 +105,7 @@ { "data": { "text/html": [ - "
" + "
" ], "text/plain": [ "" @@ -100,10 +117,10 @@ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 6, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -112,6 +129,13 @@ "image = itk.imread(file_name)\n", "view(image, rotate=True, gradient_opacity=0.55)" ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { @@ -130,7 +154,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.5" + "version": "3.10.9" } }, "nbformat": 4,