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
This commit is contained in:
ehs 2019-03-30 06:09:23 -03:00
parent e84f801836
commit 295df79138

View File

@ -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",