Skip to content

Commit

Permalink
adjusted ax.view_init arguments so it can works with the new matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
napakalas committed Mar 22, 2023
1 parent e49ce39 commit 8b4b6b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
13 changes: 3 additions & 10 deletions tutorial-1/SPARC-tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install pandas\n",
"!pip install openpyxl\n",
"!pip install ipywidgets\n",
"!pip install numpy\n",
"!pip install numpy-stl\n",
"!pip install matplotlib\n",
"!pip install ipympl\n",
"!pip install tqdm"
"!pip install -r requirements.txt"
]
},
{
Expand Down Expand Up @@ -557,7 +550,7 @@
" ax.axis('off')\n",
"\n",
" # Show ventral surface and plot projected neurons.\n",
" ax.view_init(10, -57, 'y')\n",
" ax.view_init(elev=10, azim=-57, vertical_axis='y')\n",
" plt.show()\n",
"\n",
"efferent=Checkbox(value=True, description=\"efferent\")\n",
Expand Down Expand Up @@ -601,7 +594,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
"version": "3.9.4"
}
},
"nbformat": 4,
Expand Down
12 changes: 2 additions & 10 deletions tutorial-2/SPARC-tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install pandas\n",
"!pip install openpyxl\n",
"!pip install ipywidgets\n",
"!pip install numpy\n",
"!pip install numpy-stl\n",
"!pip install matplotlib\n",
"!pip install ipympl\n",
"!pip install scipy\n",
"!pip install tqdm"
"!pip install -r requirements.txt"
]
},
{
Expand Down Expand Up @@ -507,7 +499,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
"version": "3.9.4"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 8b4b6b6

Please sign in to comment.