Moved chapter 01 as part of book reorg

This commit is contained in:
Roger Labbe 2015-01-27 09:24:52 -08:00
parent f135d2e213
commit 8b5122f21d
3 changed files with 58 additions and 60 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
You may read this book online via nbviewer by using this link:
[*Read Online Now*](http://nbviewer.ipython.org/github/rlabbe/Kalman-and-Bayesian-Filters-in-Python/blob/master/table_of_contents.ipynb)

View File

@ -64,14 +64,14 @@ def _decode_dict(data):
return rv
def load_style(name='../styles/custom2.css'):
def load_style(name='./styles/custom2.css'):
if sys.version_info[0] >= 3:
s = json.load( open("../code/538.json"))
s = json.load( open("./code/538.json"))
else:
s = json.load( open("../code/538.json"), object_hook=_decode_dict)
s = json.load( open("./code/538.json"), object_hook=_decode_dict)
plt.rcParams.update(s)
reset_axis ()
np.set_printoptions(suppress=True)
styles = open(name, 'r').read()
return HTML(styles)
return HTML(styles)