Skip to content

Commit ca47683

Browse files
committed
import numpy as np
1 parent 4f54ccd commit ca47683

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/atlas/atlas_swanson_flatmap.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"source": [
6464
"from ibllib.atlas.flatmaps import swanson\n",
6565
"from ibllib.atlas.regions import BrainRegions\n",
66+
"import numpy as np\n",
6667
"\n",
6768
"br = BrainRegions()\n",
6869
"swanson_ac = np.sort(br.acronym[np.unique(swanson())])"
@@ -88,7 +89,6 @@
8889
"execution_count": null,
8990
"outputs": [],
9091
"source": [
91-
"import numpy as np\n",
9292
"# Example: Check if PTLp is in Swanson\n",
9393
"np.isin(['PTLp'], swanson_ac)\n",
9494
"# Example: Check if VISa and VISrl are in Swanson\n",
@@ -118,7 +118,6 @@
118118
"outputs": [],
119119
"source": [
120120
"from ibllib.atlas.flatmaps import plot_swanson_vector\n",
121-
"import numpy as np\n",
122121
"\n",
123122
"# 'PTLp', 'CA1', 'VPM' as in Swanson and all 3 are plotted\n",
124123
"acronyms = ['PTLp', 'CA1', 'VPM']\n",

0 commit comments

Comments
 (0)