Skip to content

Commit

Permalink
Merge pull request #95 from bcalford/fix_sidepanel
Browse files Browse the repository at this point in the history
Fix side panel linting issues
  • Loading branch information
bcalford authored Nov 5, 2024
2 parents 7beeadc + e7ca1c6 commit 9d70d23
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions examples/example_sideview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,14 @@
"source": [
"# this example needs to have ipylab installed and only runs in JupyterLab.\n",
"from ipylab import JupyterFrontEnd, SplitPanel\n",
"from ipyniivue import NiiVue,SliceType\n",
"\n",
"from ipyniivue import NiiVue, SliceType\n",
"\n",
"volumes = [\n",
" { \"path\": \"../images/mni152.nii.gz\", \"colormap\": \"gray\", \"visible\": True, \"opacity\": 1.0 },\n",
" { \"path\": \"../images/hippo.nii.gz\", \"colormap\": \"red\", \"visible\": True, \"opacity\": 1 },\n",
" { \"path\": \"../images/mni152.nii.gz\", \"colormap\": \"gray\",\n",
" \"visible\": True, \"opacity\": 1.0 },\n",
" { \"path\": \"../images/hippo.nii.gz\", \"colormap\": \"red\",\n",
" \"visible\": True, \"opacity\": 1 },\n",
"\n",
"]\n",
"nv = NiiVue(slice_type=SliceType.MULTIPLANAR)\n",
Expand Down Expand Up @@ -215,7 +218,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"version": "3.12.3"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
Expand Down

0 comments on commit 9d70d23

Please sign in to comment.