|
12 | 12 | " <style>\n",
|
13 | 13 | " .output_wrapper, .output {\n",
|
14 | 14 | " height:auto !important;\n",
|
15 |
| - " max-height:100000px; \n", |
| 15 | + " max-height:100000px;\n", |
16 | 16 | " }\n",
|
17 | 17 | " .output_scroll {\n",
|
18 | 18 | " box-shadow:none !important;\n",
|
|
93 | 93 | },
|
94 | 94 | {
|
95 | 95 | "cell_type": "code",
|
96 |
| - "execution_count": 2, |
97 |
| - "metadata": { |
98 |
| - "scrolled": true |
99 |
| - }, |
| 96 | + "execution_count": 5, |
| 97 | + "metadata": {}, |
100 | 98 | "outputs": [
|
101 |
| - { |
102 |
| - "name": "stderr", |
103 |
| - "output_type": "stream", |
104 |
| - "text": [ |
105 |
| - "C:\\Anaconda3\\lib\\site-packages\\IPython\\html.py:14: ShimWarning: The `IPython.html` package has been deprecated since IPython 4.0. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.\n", |
106 |
| - " \"`IPython.html.widgets` has moved to `ipywidgets`.\", ShimWarning)\n" |
107 |
| - ] |
108 |
| - }, |
109 | 99 | {
|
110 | 100 | "data": {
|
111 | 101 | "application/vnd.jupyter.widget-view+json": {
|
112 |
| - "model_id": "609e5b01d9564d6b8c6e025cab5df9cb", |
| 102 | + "model_id": "5f6d72e65be24e628d9f6f144f309234", |
113 | 103 | "version_major": 2,
|
114 | 104 | "version_minor": 0
|
115 | 105 | },
|
|
160 | 150 | " plt.title(str(F))\n",
|
161 | 151 | " plt.xlabel('position')\n",
|
162 | 152 | " plt.ylabel('velocity')\n",
|
| 153 | + " plt.show()\n", |
163 | 154 | " \n",
|
164 | 155 | "interact(plot_FPFT, \n",
|
165 | 156 | " F00=widgets.IntSlider(value=1, min=0, max=2.), \n",
|
|
188 | 179 | {
|
189 | 180 | "data": {
|
190 | 181 | "application/vnd.jupyter.widget-view+json": {
|
191 |
| - "model_id": "94a56f8ac01144e0b32bbb39a353e40a", |
| 182 | + "model_id": "cc2e30d2d25946d598ba42683e49c891", |
192 | 183 | "version_major": 2,
|
193 | 184 | "version_minor": 0
|
194 | 185 | },
|
|
255 | 246 | {
|
256 | 247 | "data": {
|
257 | 248 | "application/vnd.jupyter.widget-view+json": {
|
258 |
| - "model_id": "690c1af2d34845dd837f33de97469854", |
| 249 | + "model_id": "c8a6dc551eae4845beaae8da7b8f72b3", |
259 | 250 | "version_major": 2,
|
260 | 251 | "version_minor": 0
|
261 | 252 | },
|
|
313 | 304 | ],
|
314 | 305 | "metadata": {
|
315 | 306 | "kernelspec": {
|
316 |
| - "display_name": "Python 3", |
| 307 | + "display_name": "Python 3 (ipykernel)", |
317 | 308 | "language": "python",
|
318 | 309 | "name": "python3"
|
319 | 310 | },
|
|
327 | 318 | "name": "python",
|
328 | 319 | "nbconvert_exporter": "python",
|
329 | 320 | "pygments_lexer": "ipython3",
|
330 |
| - "version": "3.7.1" |
| 321 | + "version": "3.7.12" |
331 | 322 | }
|
332 | 323 | },
|
333 | 324 | "nbformat": 4,
|
334 |
| - "nbformat_minor": 1 |
| 325 | + "nbformat_minor": 4 |
335 | 326 | }
|
0 commit comments