Skip to content

Commit

Permalink
Update check_response_functions.ipynb
Browse files Browse the repository at this point in the history
call plt.show() such that readthedocs shows figures. figures are not shown in readthedocs otherwise because black formatting does not accept a semicolumn.
  • Loading branch information
martinvonk committed Jan 19, 2023
1 parent eab10c9 commit 17af48a
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions doc/concepts/check_response_functions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"step (m)\")\n",
"plt.grid()\n",
"plt.legend()"
"plt.legend()\n",
"plt.show()"
]
},
{
Expand Down Expand Up @@ -128,7 +129,8 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"step (m)\")\n",
"plt.grid()\n",
"plt.legend()"
"plt.legend()\n",
"plt.show()"
]
},
{
Expand Down Expand Up @@ -183,7 +185,8 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"step (m)\")\n",
"plt.grid()\n",
"plt.legend()"
"plt.legend()\n",
"plt.show()"
]
},
{
Expand Down Expand Up @@ -238,7 +241,8 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"step (m)\")\n",
"plt.grid()\n",
"plt.legend()"
"plt.legend()\n",
"plt.show()"
]
},
{
Expand Down Expand Up @@ -270,7 +274,7 @@
"n = 1.5\n",
"a = 50\n",
"b = 10\n",
"p = [A, n, a, b]\n",
"p = [n, a, b]\n",
"\n",
"fourparam = ps.FourParam(quad=False) # use simple integration\n",
"tmax = fourparam.get_tmax(p)\n",
Expand All @@ -297,7 +301,8 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"step (m)\")\n",
"plt.grid()\n",
"plt.legend()"
"plt.legend()\n",
"plt.show()"
]
},
{
Expand Down Expand Up @@ -353,7 +358,8 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"step (m)\")\n",
"plt.grid()\n",
"plt.legend()"
"plt.legend()\n",
"plt.show()"
]
},
{
Expand Down Expand Up @@ -531,7 +537,8 @@
"plt.xlabel(\"time (d)\")\n",
"plt.ylabel(\"step (m)\")\n",
"plt.grid()\n",
"plt.legend()"
"plt.legend()\n",
"plt.show()"
]
}
],
Expand Down

0 comments on commit 17af48a

Please sign in to comment.