Skip to content

Commit 91be73d

Browse files
committed
Updated for Python 3.6
1 parent 3f468dd commit 91be73d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

04-One-Dimensional-Kalman-Filters.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"metadata": {},
2121
"outputs": [],
2222
"source": [
23-
"from __future__ import division, print_function\n",
2423
"%matplotlib inline"
2524
]
2625
},
@@ -36,7 +35,7 @@
3635
" <style>\n",
3736
" .output_wrapper, .output {\n",
3837
" height:auto !important;\n",
39-
" max-height:100000px; \n",
38+
" max-height:100000px;\n",
4039
" }\n",
4140
" .output_scroll {\n",
4241
" box-shadow:none !important;\n",
@@ -159,7 +158,7 @@
159158
"xs = range(500)\n",
160159
"ys = randn(500)*1. + 10.\n",
161160
"plt.plot(xs, ys)\n",
162-
"print('Mean of readings is {:.3f}'.format(np.mean(ys)))"
161+
"print(f'Mean of readings is {np.mean(ys):.3f}')"
163162
]
164163
},
165164
{
@@ -2133,7 +2132,7 @@
21332132
"name": "python",
21342133
"nbconvert_exporter": "python",
21352134
"pygments_lexer": "ipython3",
2136-
"version": "3.7.6"
2135+
"version": "3.7.4"
21372136
},
21382137
"widgets": {
21392138
"application/vnd.jupyter.widget-state+json": {

0 commit comments

Comments
 (0)