Moved chapter 01 as part of book reorg
This commit is contained in:
parent
f135d2e213
commit
8b5122f21d
File diff suppressed because one or more lines are too long
@ -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)
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user