Skip to content

Commit

Permalink
Update propNav.ipynb
Browse files Browse the repository at this point in the history
Fixed matplotlib widget or inline detection.
  • Loading branch information
gedeschaines committed Mar 19, 2024
1 parent d7170dd commit 3b20cbd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions propNav.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@
"cell_type": "markdown",
"id": "7d8feb87-2bbd-4740-9f91-a5ddf6411603",
"metadata": {
"id": "7d8feb87-2bbd-4740-9f91-a5ddf6411603",
"jp-MarkdownHeadingCollapsed": true
"id": "7d8feb87-2bbd-4740-9f91-a5ddf6411603"
},
"source": [
"### Module Imports\n",
Expand All @@ -156,7 +155,10 @@
"execution_count": 2,
"id": "6ba8c892-e642-4417-9337-5735d28f1196",
"metadata": {
"id": "6ba8c892-e642-4417-9337-5735d28f1196"
"id": "6ba8c892-e642-4417-9337-5735d28f1196",
"jupyter": {
"source_hidden": true
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -211,10 +213,13 @@
" %matplotlib inline\n",
" else:\n",
" try:\n",
" import ipywidgets as widgets\n",
" %matplotlib widget\n",
" except:\n",
" %matplotlib inline \n"
" %matplotlib inline\n",
" try:\n",
" import ipywidgets as widgets\n",
" except:\n",
" widgets = None\n"
]
},
{
Expand Down Expand Up @@ -2821,7 +2826,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "343f57b5eec847079ed9371740a15672",
"model_id": "bd4cbc80976a41ad98e62848e303de5f",
"version_major": 2,
"version_minor": 0
},
Expand Down

0 comments on commit 3b20cbd

Please sign in to comment.