Skip to content

Commit 989d6cc

Browse files
authored
Merge pull request #573 from bnmajor/binder-badges
Binder badges
2 parents d9d5e5d + 7cbcd66 commit 989d6cc

14 files changed

+49
-24
lines changed

environment.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: python 3.8
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.8
6+
- pip
7+
- pip:
8+
- imjoy-jupyterlab-extension

examples/Hello3DWorld.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"id": "23d710b3-dd78-4f76-895f-7e22f194d738",
66
"metadata": {},
77
"source": [
8-
"### Try this notebook in Google Colab as well!\n",
8+
"### Try this notebook in Google Colab or Binder:\n",
99
"\n",
10-
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/Hello3DWorld.ipynb)"
10+
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/Hello3DWorld.ipynb)\n",
11+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2FHello3DWorld.ipynb)"
1112
]
1213
},
1314
{

examples/NumPyArrayPointSet.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"id": "cdcd865c-1264-413f-b317-452953ebb5f8",
66
"metadata": {},
77
"source": [
8-
"### Try this notebook in Google Colab as well!\n",
8+
"### Try this notebook in Google Colab or Binder:\n",
99
"\n",
10-
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/NumPyArrayPointSet.ipynb)"
10+
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/NumPyArrayPointSet.ipynb)\n",
11+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2FNumPyArrayPointSet.ipynb)"
1112
]
1213
},
1314
{

examples/integrations/MONAI/transform_visualization.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"id": "59bcbdb7-e68e-4573-8d78-cdbf1899237f",
66
"metadata": {},
77
"source": [
8-
"### Try this notebook in Google Colab as well!\n",
8+
"### Try this notebook in Google Colab or Binder:\n",
99
"\n",
10-
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/MONAI/transform_visualization.ipynb)"
10+
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/MONAI/transform_visualization.ipynb)\n",
11+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2Fintegrations%2FMONAI%2Ftransform_visualization.ipynb)"
1112
]
1213
},
1314
{

examples/integrations/PyImageJ/ImageJImgLib2.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"metadata": {},
77
"source": [
88
"# ImageJ, Python, and itkwidgets\n",
9+
"\n",
10+
"### Try this notebook in Binder:\n",
11+
"\n",
12+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2Fintegrations%2FPyImageJ%2FImageJImgLib2.ipynb)\n",
13+
"\n",
914
"This example demonstrates how to use ImageJ from CPython and how it can be used with itkwidgets.\n",
1015
"\n",
1116
"To run this example, use the conda cross-platform package manager and install the pyimagej package from conda-forge.\n",

examples/integrations/PyVista/LiDAR.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"id": "1c4578e8-c0ec-4581-8733-59641d2c21c3",
66
"metadata": {},
77
"source": [
8-
"### Try this notebook in Google Colab as well!\n",
8+
"### Try this notebook in Google Colab or Binder:\n",
99
"\n",
10-
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/PyVista/LiDAR.ipynb)"
10+
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/PyVista/LiDAR.ipynb)\n",
11+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2Fintegrations%2FPyVista%2FLiDAR.ipynb)"
1112
]
1213
},
1314
{

examples/integrations/PyVista/UniformGrid.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"id": "89d60cf6-70cc-4dba-90d0-d7398574ec0a",
66
"metadata": {},
77
"source": [
8-
"### Try this notebook in Google Colab as well!\n",
8+
"### Try this notebook in Google Colab or Binder:\n",
99
"\n",
10-
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/PyVista/UniformGrid.ipynb)"
10+
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/PyVista/UniformGrid.ipynb)\n",
11+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2Fintegrations%2FPyVista%2FUniformGrid.ipynb)"
1112
]
1213
},
1314
{

examples/integrations/dask/DaskArray.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"id": "af24b172-a1e1-43fc-b0c3-ddebea1370eb",
66
"metadata": {},
77
"source": [
8-
"### Try this notebook in Google Colab as well!\n",
8+
"### Try this notebook in Google Colab or Binder:\n",
99
"\n",
10-
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/dask/DaskArray.ipynb)"
10+
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/dask/DaskArray.ipynb)\n",
11+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2Fintegrations%2Fdask%2FDaskArray.ipynb)"
1112
]
1213
},
1314
{

examples/integrations/itk/3DImage.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"### Try this notebook in Google Colab as well!\n",
7+
"### Try this notebook in Google Colab or Binder:\n",
88
"\n",
9-
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/itk/3DImage.ipynb)"
9+
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/itk/3DImage.ipynb)\n",
10+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2Fintegrations%2Fitk%2F3DImage.ipynb)"
1011
]
1112
},
1213
{

examples/integrations/itk/DICOM.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"id": "e0467fd0-c5a4-4b8a-b364-70de8541ff53",
66
"metadata": {},
77
"source": [
8-
"### Try this notebook in Google Colab as well!\n",
8+
"### Try this notebook in Google Colab or Binder:\n",
99
"\n",
10-
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/itk/DICOM.ipynb)"
10+
"[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/itk/DICOM.ipynb)\n",
11+
"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/InsightSoftwareConsortium/itkwidgets/HEAD?labpath=examples%2Fintegrations%2Fitk%2FDICOM.ipynb)"
1112
]
1213
},
1314
{

0 commit comments

Comments
 (0)