From 295df79138b0434148db91556c4a04caa7cfe5eb Mon Sep 17 00:00:00 2001 From: ehs Date: Sat, 30 Mar 2019 06:09:23 -0300 Subject: [PATCH] Changing plot_g_h_results import line In the Exercise: Write Generic Algorithm section the user gets an error trying to run the cell after uncomment the call to the function because the plot_g_h_results function is imported on the next cell This fix makes the import in the previous cell, resolving the issue --- 01-g-h-filter.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/01-g-h-filter.ipynb b/01-g-h-filter.ipynb index 3ffb9d8..f01abf9 100644 --- a/01-g-h-filter.ipynb +++ b/01-g-h-filter.ipynb @@ -931,6 +931,7 @@ }, "outputs": [], "source": [ + "from kf_book.gh_internal import plot_g_h_results\n", "def g_h_filter(data, x0, dx, g, h, dt):\n", " pass # your solution here\n", "\n", @@ -966,7 +967,6 @@ } ], "source": [ - "from kf_book.gh_internal import plot_g_h_results\n", "import matplotlib.pylab as pylab\n", "\n", "def g_h_filter(data, x0, dx, g, h, dt=1.):\n",