File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2020 "metadata": {},
2121 "outputs": [],
2222 "source": [
23- "from __future__ import division, print_function\n",
2423 "%matplotlib inline"
2524 ]
2625 },
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",
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 {
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": {
You can’t perform that action at this time.
0 commit comments