Skip to content

Commit

Permalink
adopt changes for siibra-python version v1.0a02
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmetNSimsek committed Dec 1, 2023
1 parent c16396a commit 702bbf8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions 01-BasicConcepts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ == \"1.0a01\"\n",
"assert siibra.__version__ >= \"1.0a02\"\n",
"import os\n",
"import matplotlib\n",
"%matplotlib notebook"
Expand Down Expand Up @@ -288,7 +288,8 @@
"outputs": [],
"source": [
"from nilearn import plotting\n",
"plotting.plot_stat_map(mpm.fetch(), title=f\"{mpm.parcellation.name} (merged fragments)\")"
"cmap = mpm.get_colormap()\n",
"plotting.plot_roi(mpm.fetch(), cmap=cmap, title=mpm.parcellation.name)"
]
},
{
Expand Down Expand Up @@ -520,9 +521,9 @@
"metadata": {},
"outputs": [],
"source": [
"area44l = julichbrain.get_region('44 right')\n",
"mask = area44l.get_regional_map('bigbrain')\n",
"mask.boundingbox"
"area44r = julichbrain.get_region(\"44 right\")\n",
"bbox = area44r.get_bounding_box(\"bigbrain\")\n",
"bbox"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 02-DataFeatures.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ == \"1.0a01\""
"assert siibra.__version__ >= \"1.0a02\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 03-ProbabilisticAssignment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ == \"1.0a01\"\n",
"assert siibra.__version__ >= \"1.0a02\"\n",
"from nilearn import plotting\n",
"import matplotlib.pyplot as plt\n",
"%matplotlib notebook"
Expand Down
2 changes: 1 addition & 1 deletion 04-DifferentialGeneExpressions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"outputs": [],
"source": [
"import siibra, siibra_jugex\n",
"assert siibra.__version__ == \"1.0a01\"\n",
"assert siibra.__version__ >= \"1.0a02\"\n",
"assert siibra_jugex.__version__ >= \"1.2\""
]
},
Expand Down
2 changes: 1 addition & 1 deletion 05-CombinedWorkflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ == \"1.0a01\"\n",
"assert siibra.__version__ >= \"1.0a02\"\n",
"import matplotlib.pyplot as plt\n",
"%matplotlib notebook"
]
Expand Down
2 changes: 1 addition & 1 deletion HIBALL-winterschool-2023.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"outputs": [],
"source": [
"import siibra\n",
"assert siibra.__version__ == \"1.0a01\"\n",
"assert siibra.__version__ >= \"1.0a02\"\n",
"import matplotlib\n",
"%matplotlib notebook\n",
"\n",
Expand Down

0 comments on commit 702bbf8

Please sign in to comment.