Show More
@@ -2,7 +2,7 b'' | |||
|
2 | 2 | "metadata": { |
|
3 | 3 | "celltoolbar": "Slideshow", |
|
4 | 4 | "name": "", |
|
5 | "signature": "sha256:9763f005a69fc65b7a7977011d9604b09b4959e7293cbbb2cf35cc482380e671" | |
|
5 | "signature": "sha256:a53951979397cd38785846c18854053eaa5093f6f08246dbcce76b7d243e2153" | |
|
6 | 6 | }, |
|
7 | 7 | "nbformat": 3, |
|
8 | 8 | "nbformat_minor": 0, |
@@ -128,7 +128,7 b'' | |||
|
128 | 128 | "language": "python", |
|
129 | 129 | "metadata": {}, |
|
130 | 130 | "outputs": [], |
|
131 |
"prompt_number": |
|
|
131 | "prompt_number": 1 | |
|
132 | 132 | }, |
|
133 | 133 | { |
|
134 | 134 | "cell_type": "heading", |
@@ -272,7 +272,7 b'' | |||
|
272 | 272 | ] |
|
273 | 273 | } |
|
274 | 274 | ], |
|
275 |
"prompt_number": |
|
|
275 | "prompt_number": 2 | |
|
276 | 276 | }, |
|
277 | 277 | { |
|
278 | 278 | "cell_type": "heading", |
@@ -334,7 +334,7 b'' | |||
|
334 | 334 | ] |
|
335 | 335 | } |
|
336 | 336 | ], |
|
337 |
"prompt_number": |
|
|
337 | "prompt_number": 3 | |
|
338 | 338 | }, |
|
339 | 339 | { |
|
340 | 340 | "cell_type": "heading", |
@@ -400,7 +400,7 b'' | |||
|
400 | 400 | ] |
|
401 | 401 | } |
|
402 | 402 | ], |
|
403 |
"prompt_number": |
|
|
403 | "prompt_number": 4 | |
|
404 | 404 | }, |
|
405 | 405 | { |
|
406 | 406 | "cell_type": "heading", |
@@ -430,7 +430,7 b'' | |||
|
430 | 430 | "language": "python", |
|
431 | 431 | "metadata": {}, |
|
432 | 432 | "outputs": [], |
|
433 |
"prompt_number": |
|
|
433 | "prompt_number": 5 | |
|
434 | 434 | }, |
|
435 | 435 | { |
|
436 | 436 | "cell_type": "heading", |
@@ -461,19 +461,8 b'' | |||
|
461 | 461 | ], |
|
462 | 462 | "language": "python", |
|
463 | 463 | "metadata": {}, |
|
464 | "outputs": [ | |
|
465 | { | |
|
466 | "ename": "NameError", | |
|
467 | "evalue": "name 'widgets' is not defined", | |
|
468 | "output_type": "pyerr", | |
|
469 | "traceback": [ | |
|
470 | "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m\n\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", | |
|
471 | "\u001b[0;32m<ipython-input-5-18ff342e181d>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mclass\u001b[0m \u001b[0mHelloWidget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mwidgets\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mDOMWidget\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0m_view_name\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mUnicode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'HelloView'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msync\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mvalue\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mUnicode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'Hello World!'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msync\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", | |
|
472 | "\u001b[0;31mNameError\u001b[0m: name 'widgets' is not defined" | |
|
473 | ] | |
|
474 | } | |
|
475 | ], | |
|
476 | "prompt_number": 5 | |
|
464 | "outputs": [], | |
|
465 | "prompt_number": 6 | |
|
477 | 466 | }, |
|
478 | 467 | { |
|
479 | 468 | "cell_type": "heading", |
@@ -556,7 +545,7 b'' | |||
|
556 | 545 | ] |
|
557 | 546 | } |
|
558 | 547 | ], |
|
559 |
"prompt_number": |
|
|
548 | "prompt_number": 7 | |
|
560 | 549 | }, |
|
561 | 550 | { |
|
562 | 551 | "cell_type": "heading", |
@@ -632,7 +621,7 b'' | |||
|
632 | 621 | ] |
|
633 | 622 | } |
|
634 | 623 | ], |
|
635 |
"prompt_number": |
|
|
624 | "prompt_number": 8 | |
|
636 | 625 | }, |
|
637 | 626 | { |
|
638 | 627 | "cell_type": "heading", |
@@ -656,7 +645,7 b'' | |||
|
656 | 645 | "language": "python", |
|
657 | 646 | "metadata": {}, |
|
658 | 647 | "outputs": [], |
|
659 |
"prompt_number": |
|
|
648 | "prompt_number": 9 | |
|
660 | 649 | }, |
|
661 | 650 | { |
|
662 | 651 | "cell_type": "code", |
@@ -667,7 +656,7 b'' | |||
|
667 | 656 | "language": "python", |
|
668 | 657 | "metadata": {}, |
|
669 | 658 | "outputs": [], |
|
670 |
"prompt_number": 1 |
|
|
659 | "prompt_number": 10 | |
|
671 | 660 | }, |
|
672 | 661 | { |
|
673 | 662 | "cell_type": "heading", |
@@ -727,7 +716,7 b'' | |||
|
727 | 716 | "language": "python", |
|
728 | 717 | "metadata": {}, |
|
729 | 718 | "outputs": [], |
|
730 |
"prompt_number": 1 |
|
|
719 | "prompt_number": 11 | |
|
731 | 720 | }, |
|
732 | 721 | { |
|
733 | 722 | "cell_type": "heading", |
@@ -817,7 +806,7 b'' | |||
|
817 | 806 | ] |
|
818 | 807 | } |
|
819 | 808 | ], |
|
820 |
"prompt_number": 1 |
|
|
809 | "prompt_number": 12 | |
|
821 | 810 | }, |
|
822 | 811 | { |
|
823 | 812 | "cell_type": "heading", |
@@ -927,7 +916,7 b'' | |||
|
927 | 916 | ] |
|
928 | 917 | } |
|
929 | 918 | ], |
|
930 |
"prompt_number": 1 |
|
|
919 | "prompt_number": 13 | |
|
931 | 920 | }, |
|
932 | 921 | { |
|
933 | 922 | "cell_type": "heading", |
@@ -2,7 +2,7 b'' | |||
|
2 | 2 | "metadata": { |
|
3 | 3 | "celltoolbar": "Slideshow", |
|
4 | 4 | "name": "", |
|
5 | "signature": "sha256:f6c1dd624d35ab0c768f77dffdae914baf4d88a3c244047c00ffca8b9c96e81e" | |
|
5 | "signature": "sha256:b8ade017615ae4e656f0740a85c77764ff451dd651110af0b5dc92fd5cb409ff" | |
|
6 | 6 | }, |
|
7 | 7 | "nbformat": 3, |
|
8 | 8 | "nbformat_minor": 0, |
@@ -261,6 +261,18 b'' | |||
|
261 | 261 | "cell_type": "code", |
|
262 | 262 | "collapsed": false, |
|
263 | 263 | "input": [ |
|
264 | "w = IntSliderWidget()\n", | |
|
265 | "display(w)" | |
|
266 | ], | |
|
267 | "language": "python", | |
|
268 | "metadata": {}, | |
|
269 | "outputs": [], | |
|
270 | "prompt_number": 9 | |
|
271 | }, | |
|
272 | { | |
|
273 | "cell_type": "code", | |
|
274 | "collapsed": false, | |
|
275 | "input": [ | |
|
264 | 276 | "w.value" |
|
265 | 277 | ], |
|
266 | 278 | "language": "python", |
@@ -269,13 +281,13 b'' | |||
|
269 | 281 | { |
|
270 | 282 | "metadata": {}, |
|
271 | 283 | "output_type": "pyout", |
|
272 |
"prompt_number": |
|
|
284 | "prompt_number": 11, | |
|
273 | 285 | "text": [ |
|
274 | "0" | |
|
286 | "40" | |
|
275 | 287 | ] |
|
276 | 288 | } |
|
277 | 289 | ], |
|
278 |
"prompt_number": |
|
|
290 | "prompt_number": 11 | |
|
279 | 291 | }, |
|
280 | 292 | { |
|
281 | 293 | "cell_type": "markdown", |
@@ -293,7 +305,7 b'' | |||
|
293 | 305 | "language": "python", |
|
294 | 306 | "metadata": {}, |
|
295 | 307 | "outputs": [], |
|
296 |
"prompt_number": |
|
|
308 | "prompt_number": 12 | |
|
297 | 309 | }, |
|
298 | 310 | { |
|
299 | 311 | "cell_type": "heading", |
@@ -326,7 +338,7 b'' | |||
|
326 | 338 | { |
|
327 | 339 | "metadata": {}, |
|
328 | 340 | "output_type": "pyout", |
|
329 |
"prompt_number": |
|
|
341 | "prompt_number": 13, | |
|
330 | 342 | "text": [ |
|
331 | 343 | "['_view_name',\n", |
|
332 | 344 | " 'orientation',\n", |
@@ -343,7 +355,7 b'' | |||
|
343 | 355 | ] |
|
344 | 356 | } |
|
345 | 357 | ], |
|
346 |
"prompt_number": |
|
|
358 | "prompt_number": 13 | |
|
347 | 359 | }, |
|
348 | 360 | { |
|
349 | 361 | "cell_type": "heading", |
@@ -373,7 +385,7 b'' | |||
|
373 | 385 | "language": "python", |
|
374 | 386 | "metadata": {}, |
|
375 | 387 | "outputs": [], |
|
376 |
"prompt_number": |
|
|
388 | "prompt_number": 14 | |
|
377 | 389 | }, |
|
378 | 390 | { |
|
379 | 391 | "cell_type": "heading", |
@@ -410,7 +422,7 b'' | |||
|
410 | 422 | "language": "python", |
|
411 | 423 | "metadata": {}, |
|
412 | 424 | "outputs": [], |
|
413 |
"prompt_number": 1 |
|
|
425 | "prompt_number": 15 | |
|
414 | 426 | }, |
|
415 | 427 | { |
|
416 | 428 | "cell_type": "heading", |
@@ -440,7 +452,7 b'' | |||
|
440 | 452 | "language": "python", |
|
441 | 453 | "metadata": {}, |
|
442 | 454 | "outputs": [], |
|
443 |
"prompt_number": 1 |
|
|
455 | "prompt_number": 16 | |
|
444 | 456 | }, |
|
445 | 457 | { |
|
446 | 458 | "cell_type": "markdown", |
@@ -8,7 +8,7 b'' | |||
|
8 | 8 | ], |
|
9 | 9 | "celltoolbar": "Slideshow", |
|
10 | 10 | "name": "", |
|
11 | "signature": "sha256:ac1b90929c7736b2261ba498b6f28dd89d3e7b7981c43f937879febe6841e4cd" | |
|
11 | "signature": "sha256:00bfd86bbcdbb8dcaea27753885c4ee4727c9b56bd460c3ee0595641e4afe21f" | |
|
12 | 12 | }, |
|
13 | 13 | "nbformat": 3, |
|
14 | 14 | "nbformat_minor": 0, |
@@ -122,7 +122,29 b'' | |||
|
122 | 122 | ], |
|
123 | 123 | "language": "python", |
|
124 | 124 | "metadata": {}, |
|
125 |
"outputs": [ |
|
|
125 | "outputs": [ | |
|
126 | { | |
|
127 | "output_type": "stream", | |
|
128 | "stream": "stdout", | |
|
129 | "text": [ | |
|
130 | "Button clicked.\n" | |
|
131 | ] | |
|
132 | }, | |
|
133 | { | |
|
134 | "output_type": "stream", | |
|
135 | "stream": "stdout", | |
|
136 | "text": [ | |
|
137 | "Button clicked.\n" | |
|
138 | ] | |
|
139 | }, | |
|
140 | { | |
|
141 | "output_type": "stream", | |
|
142 | "stream": "stdout", | |
|
143 | "text": [ | |
|
144 | "Button clicked.\n" | |
|
145 | ] | |
|
146 | } | |
|
147 | ], | |
|
126 | 148 | "prompt_number": 3 |
|
127 | 149 | }, |
|
128 | 150 | { |
@@ -158,7 +180,15 b'' | |||
|
158 | 180 | ], |
|
159 | 181 | "language": "python", |
|
160 | 182 | "metadata": {}, |
|
161 |
"outputs": [ |
|
|
183 | "outputs": [ | |
|
184 | { | |
|
185 | "output_type": "stream", | |
|
186 | "stream": "stdout", | |
|
187 | "text": [ | |
|
188 | "adsfasdf\n" | |
|
189 | ] | |
|
190 | } | |
|
191 | ], | |
|
162 | 192 | "prompt_number": 4 |
|
163 | 193 | }, |
|
164 | 194 | { |
@@ -262,7 +292,50 b'' | |||
|
262 | 292 | ], |
|
263 | 293 | "language": "python", |
|
264 | 294 | "metadata": {}, |
|
265 |
"outputs": [ |
|
|
295 | "outputs": [ | |
|
296 | { | |
|
297 | "output_type": "stream", | |
|
298 | "stream": "stdout", | |
|
299 | "text": [ | |
|
300 | "1\n" | |
|
301 | ] | |
|
302 | }, | |
|
303 | { | |
|
304 | "output_type": "stream", | |
|
305 | "stream": "stdout", | |
|
306 | "text": [ | |
|
307 | "4\n" | |
|
308 | ] | |
|
309 | }, | |
|
310 | { | |
|
311 | "output_type": "stream", | |
|
312 | "stream": "stdout", | |
|
313 | "text": [ | |
|
314 | "13\n" | |
|
315 | ] | |
|
316 | }, | |
|
317 | { | |
|
318 | "output_type": "stream", | |
|
319 | "stream": "stdout", | |
|
320 | "text": [ | |
|
321 | "26\n" | |
|
322 | ] | |
|
323 | }, | |
|
324 | { | |
|
325 | "output_type": "stream", | |
|
326 | "stream": "stdout", | |
|
327 | "text": [ | |
|
328 | "31\n" | |
|
329 | ] | |
|
330 | }, | |
|
331 | { | |
|
332 | "output_type": "stream", | |
|
333 | "stream": "stdout", | |
|
334 | "text": [ | |
|
335 | "34\n" | |
|
336 | ] | |
|
337 | } | |
|
338 | ], | |
|
266 | 339 | "prompt_number": 6 |
|
267 | 340 | }, |
|
268 | 341 | { |
@@ -2,7 +2,7 b'' | |||
|
2 | 2 | "metadata": { |
|
3 | 3 | "celltoolbar": "Slideshow", |
|
4 | 4 | "name": "", |
|
5 | "signature": "sha256:4200cc7b2c7067f4c5391eeee6ba0d9be43b4faa16a245ba1634e7de66150372" | |
|
5 | "signature": "sha256:5ded7796417476da43feb6a52919043719f504bd72c145163e3e8a1105c5b642" | |
|
6 | 6 | }, |
|
7 | 7 | "nbformat": 3, |
|
8 | 8 | "nbformat_minor": 0, |
@@ -612,7 +612,7 b'' | |||
|
612 | 612 | "language": "python", |
|
613 | 613 | "metadata": {}, |
|
614 | 614 | "outputs": [], |
|
615 |
"prompt_number": |
|
|
615 | "prompt_number": 19 | |
|
616 | 616 | }, |
|
617 | 617 | { |
|
618 | 618 | "cell_type": "heading", |
@@ -635,7 +635,7 b'' | |||
|
635 | 635 | "language": "python", |
|
636 | 636 | "metadata": {}, |
|
637 | 637 | "outputs": [], |
|
638 |
"prompt_number": 2 |
|
|
638 | "prompt_number": 20 | |
|
639 | 639 | }, |
|
640 | 640 | { |
|
641 | 641 | "cell_type": "markdown", |
@@ -8,7 +8,7 b'' | |||
|
8 | 8 | ], |
|
9 | 9 | "celltoolbar": "Slideshow", |
|
10 | 10 | "name": "", |
|
11 | "signature": "sha256:6ee07cf9871c5a2431610eb8a2a5057f9e669769932696690f70967b255fbea7" | |
|
11 | "signature": "sha256:ea0c2f71869ec3d5fb1b007e1f13023fa5fc580ad7bee737d5cbbce8a1490169" | |
|
12 | 12 | }, |
|
13 | 13 | "nbformat": 3, |
|
14 | 14 | "nbformat_minor": 0, |
@@ -55,7 +55,7 b'' | |||
|
55 | 55 | ] |
|
56 | 56 | } |
|
57 | 57 | ], |
|
58 |
"prompt_number": |
|
|
58 | "prompt_number": 1 | |
|
59 | 59 | }, |
|
60 | 60 | { |
|
61 | 61 | "cell_type": "heading", |
@@ -89,14 +89,14 b'' | |||
|
89 | 89 | "collapsed": false, |
|
90 | 90 | "input": [ |
|
91 | 91 | "from IPython.html import widgets\n", |
|
92 | "text = widgets.TextWidget()\n", | |
|
92 | "text = widgets.TextWidget(value=\"Hello World!\")\n", | |
|
93 | 93 | "text.set_css('background', 'lime')\n", |
|
94 | 94 | "text " |
|
95 | 95 | ], |
|
96 | 96 | "language": "python", |
|
97 | 97 | "metadata": {}, |
|
98 | 98 | "outputs": [], |
|
99 |
"prompt_number": |
|
|
99 | "prompt_number": 5 | |
|
100 | 100 | }, |
|
101 | 101 | { |
|
102 | 102 | "cell_type": "heading", |
@@ -126,7 +126,7 b'' | |||
|
126 | 126 | "language": "python", |
|
127 | 127 | "metadata": {}, |
|
128 | 128 | "outputs": [], |
|
129 |
"prompt_number": |
|
|
129 | "prompt_number": 6 | |
|
130 | 130 | }, |
|
131 | 131 | { |
|
132 | 132 | "cell_type": "heading", |
@@ -156,7 +156,7 b'' | |||
|
156 | 156 | "language": "python", |
|
157 | 157 | "metadata": {}, |
|
158 | 158 | "outputs": [], |
|
159 |
"prompt_number": |
|
|
159 | "prompt_number": 7 | |
|
160 | 160 | }, |
|
161 | 161 | { |
|
162 | 162 | "cell_type": "heading", |
@@ -192,7 +192,7 b'' | |||
|
192 | 192 | "language": "python", |
|
193 | 193 | "metadata": {}, |
|
194 | 194 | "outputs": [], |
|
195 |
"prompt_number": |
|
|
195 | "prompt_number": 8 | |
|
196 | 196 | }, |
|
197 | 197 | { |
|
198 | 198 | "cell_type": "heading", |
@@ -222,7 +222,7 b'' | |||
|
222 | 222 | "language": "python", |
|
223 | 223 | "metadata": {}, |
|
224 | 224 | "outputs": [], |
|
225 |
"prompt_number": |
|
|
225 | "prompt_number": 9 | |
|
226 | 226 | }, |
|
227 | 227 | { |
|
228 | 228 | "cell_type": "markdown", |
@@ -269,7 +269,7 b'' | |||
|
269 | 269 | "language": "python", |
|
270 | 270 | "metadata": {}, |
|
271 | 271 | "outputs": [], |
|
272 |
"prompt_number": 1 |
|
|
272 | "prompt_number": 10 | |
|
273 | 273 | }, |
|
274 | 274 | { |
|
275 | 275 | "cell_type": "heading", |
@@ -304,7 +304,7 b'' | |||
|
304 | 304 | "language": "python", |
|
305 | 305 | "metadata": {}, |
|
306 | 306 | "outputs": [], |
|
307 |
"prompt_number": 1 |
|
|
307 | "prompt_number": 11 | |
|
308 | 308 | }, |
|
309 | 309 | { |
|
310 | 310 | "cell_type": "heading", |
@@ -354,7 +354,7 b'' | |||
|
354 | 354 | "language": "python", |
|
355 | 355 | "metadata": {}, |
|
356 | 356 | "outputs": [], |
|
357 |
"prompt_number": 1 |
|
|
357 | "prompt_number": 12 | |
|
358 | 358 | }, |
|
359 | 359 | { |
|
360 | 360 | "cell_type": "heading", |
@@ -389,7 +389,7 b'' | |||
|
389 | 389 | "language": "python", |
|
390 | 390 | "metadata": {}, |
|
391 | 391 | "outputs": [], |
|
392 |
"prompt_number": 1 |
|
|
392 | "prompt_number": 13 | |
|
393 | 393 | }, |
|
394 | 394 | { |
|
395 | 395 | "cell_type": "heading", |
@@ -421,7 +421,7 b'' | |||
|
421 | 421 | "language": "python", |
|
422 | 422 | "metadata": {}, |
|
423 | 423 | "outputs": [], |
|
424 |
"prompt_number": 1 |
|
|
424 | "prompt_number": 14 | |
|
425 | 425 | }, |
|
426 | 426 | { |
|
427 | 427 | "cell_type": "code", |
@@ -432,7 +432,7 b'' | |||
|
432 | 432 | "language": "python", |
|
433 | 433 | "metadata": {}, |
|
434 | 434 | "outputs": [], |
|
435 |
"prompt_number": 1 |
|
|
435 | "prompt_number": 15 | |
|
436 | 436 | }, |
|
437 | 437 | { |
|
438 | 438 | "cell_type": "code", |
@@ -441,7 +441,7 b'' | |||
|
441 | 441 | "language": "python", |
|
442 | 442 | "metadata": {}, |
|
443 | 443 | "outputs": [], |
|
444 |
"prompt_number": 1 |
|
|
444 | "prompt_number": 15 | |
|
445 | 445 | }, |
|
446 | 446 | { |
|
447 | 447 | "cell_type": "code", |
@@ -450,7 +450,7 b'' | |||
|
450 | 450 | "language": "python", |
|
451 | 451 | "metadata": {}, |
|
452 | 452 | "outputs": [], |
|
453 |
"prompt_number": 1 |
|
|
453 | "prompt_number": 15 | |
|
454 | 454 | }, |
|
455 | 455 | { |
|
456 | 456 | "cell_type": "code", |
@@ -459,7 +459,7 b'' | |||
|
459 | 459 | "language": "python", |
|
460 | 460 | "metadata": {}, |
|
461 | 461 | "outputs": [], |
|
462 |
"prompt_number": 1 |
|
|
462 | "prompt_number": 15 | |
|
463 | 463 | }, |
|
464 | 464 | { |
|
465 | 465 | "cell_type": "code", |
@@ -468,7 +468,7 b'' | |||
|
468 | 468 | "language": "python", |
|
469 | 469 | "metadata": {}, |
|
470 | 470 | "outputs": [], |
|
471 |
"prompt_number": 1 |
|
|
471 | "prompt_number": 15 | |
|
472 | 472 | }, |
|
473 | 473 | { |
|
474 | 474 | "cell_type": "code", |
@@ -477,7 +477,7 b'' | |||
|
477 | 477 | "language": "python", |
|
478 | 478 | "metadata": {}, |
|
479 | 479 | "outputs": [], |
|
480 |
"prompt_number": 1 |
|
|
480 | "prompt_number": 15 | |
|
481 | 481 | }, |
|
482 | 482 | { |
|
483 | 483 | "cell_type": "code", |
@@ -486,7 +486,7 b'' | |||
|
486 | 486 | "language": "python", |
|
487 | 487 | "metadata": {}, |
|
488 | 488 | "outputs": [], |
|
489 |
"prompt_number": 1 |
|
|
489 | "prompt_number": 15 | |
|
490 | 490 | }, |
|
491 | 491 | { |
|
492 | 492 | "cell_type": "code", |
@@ -495,7 +495,7 b'' | |||
|
495 | 495 | "language": "python", |
|
496 | 496 | "metadata": {}, |
|
497 | 497 | "outputs": [], |
|
498 |
"prompt_number": 1 |
|
|
498 | "prompt_number": 15 | |
|
499 | 499 | }, |
|
500 | 500 | { |
|
501 | 501 | "cell_type": "code", |
@@ -504,7 +504,7 b'' | |||
|
504 | 504 | "language": "python", |
|
505 | 505 | "metadata": {}, |
|
506 | 506 | "outputs": [], |
|
507 |
"prompt_number": 1 |
|
|
507 | "prompt_number": 15 | |
|
508 | 508 | }, |
|
509 | 509 | { |
|
510 | 510 | "cell_type": "code", |
@@ -513,7 +513,7 b'' | |||
|
513 | 513 | "language": "python", |
|
514 | 514 | "metadata": {}, |
|
515 | 515 | "outputs": [], |
|
516 |
"prompt_number": 1 |
|
|
516 | "prompt_number": 15 | |
|
517 | 517 | }, |
|
518 | 518 | { |
|
519 | 519 | "cell_type": "code", |
@@ -522,7 +522,7 b'' | |||
|
522 | 522 | "language": "python", |
|
523 | 523 | "metadata": {}, |
|
524 | 524 | "outputs": [], |
|
525 |
"prompt_number": 1 |
|
|
525 | "prompt_number": 15 | |
|
526 | 526 | }, |
|
527 | 527 | { |
|
528 | 528 | "cell_type": "code", |
@@ -531,7 +531,7 b'' | |||
|
531 | 531 | "language": "python", |
|
532 | 532 | "metadata": {}, |
|
533 | 533 | "outputs": [], |
|
534 |
"prompt_number": 1 |
|
|
534 | "prompt_number": 15 | |
|
535 | 535 | }, |
|
536 | 536 | { |
|
537 | 537 | "cell_type": "code", |
@@ -540,7 +540,7 b'' | |||
|
540 | 540 | "language": "python", |
|
541 | 541 | "metadata": {}, |
|
542 | 542 | "outputs": [], |
|
543 |
"prompt_number": 1 |
|
|
543 | "prompt_number": 15 | |
|
544 | 544 | }, |
|
545 | 545 | { |
|
546 | 546 | "cell_type": "code", |
@@ -549,7 +549,7 b'' | |||
|
549 | 549 | "language": "python", |
|
550 | 550 | "metadata": {}, |
|
551 | 551 | "outputs": [], |
|
552 |
"prompt_number": 1 |
|
|
552 | "prompt_number": 15 | |
|
553 | 553 | }, |
|
554 | 554 | { |
|
555 | 555 | "cell_type": "code", |
@@ -558,7 +558,7 b'' | |||
|
558 | 558 | "language": "python", |
|
559 | 559 | "metadata": {}, |
|
560 | 560 | "outputs": [], |
|
561 |
"prompt_number": 1 |
|
|
561 | "prompt_number": 15 | |
|
562 | 562 | }, |
|
563 | 563 | { |
|
564 | 564 | "cell_type": "code", |
@@ -569,7 +569,7 b'' | |||
|
569 | 569 | "language": "python", |
|
570 | 570 | "metadata": {}, |
|
571 | 571 | "outputs": [], |
|
572 |
"prompt_number": |
|
|
572 | "prompt_number": 16 | |
|
573 | 573 | }, |
|
574 | 574 | { |
|
575 | 575 | "cell_type": "code", |
@@ -580,7 +580,7 b'' | |||
|
580 | 580 | "language": "python", |
|
581 | 581 | "metadata": {}, |
|
582 | 582 | "outputs": [], |
|
583 |
"prompt_number": |
|
|
583 | "prompt_number": 17 | |
|
584 | 584 | }, |
|
585 | 585 | { |
|
586 | 586 | "cell_type": "heading", |
@@ -614,7 +614,7 b'' | |||
|
614 | 614 | "language": "python", |
|
615 | 615 | "metadata": {}, |
|
616 | 616 | "outputs": [], |
|
617 |
"prompt_number": |
|
|
617 | "prompt_number": 18 | |
|
618 | 618 | }, |
|
619 | 619 | { |
|
620 | 620 | "cell_type": "markdown", |
@@ -639,7 +639,7 b'' | |||
|
639 | 639 | "language": "python", |
|
640 | 640 | "metadata": {}, |
|
641 | 641 | "outputs": [], |
|
642 |
"prompt_number": |
|
|
642 | "prompt_number": 19 | |
|
643 | 643 | }, |
|
644 | 644 | { |
|
645 | 645 | "cell_type": "markdown", |
@@ -664,7 +664,7 b'' | |||
|
664 | 664 | "language": "python", |
|
665 | 665 | "metadata": {}, |
|
666 | 666 | "outputs": [], |
|
667 |
"prompt_number": 2 |
|
|
667 | "prompt_number": 20 | |
|
668 | 668 | }, |
|
669 | 669 | { |
|
670 | 670 | "cell_type": "heading", |
@@ -733,7 +733,7 b'' | |||
|
733 | 733 | ] |
|
734 | 734 | } |
|
735 | 735 | ], |
|
736 |
"prompt_number": 2 |
|
|
736 | "prompt_number": 21 | |
|
737 | 737 | }, |
|
738 | 738 | { |
|
739 | 739 | "cell_type": "code", |
@@ -752,7 +752,7 b'' | |||
|
752 | 752 | "language": "python", |
|
753 | 753 | "metadata": {}, |
|
754 | 754 | "outputs": [], |
|
755 |
"prompt_number": 2 |
|
|
755 | "prompt_number": 22 | |
|
756 | 756 | }, |
|
757 | 757 | { |
|
758 | 758 | "cell_type": "code", |
@@ -766,7 +766,7 b'' | |||
|
766 | 766 | "language": "python", |
|
767 | 767 | "metadata": {}, |
|
768 | 768 | "outputs": [], |
|
769 |
"prompt_number": 2 |
|
|
769 | "prompt_number": 23 | |
|
770 | 770 | }, |
|
771 | 771 | { |
|
772 | 772 | "cell_type": "code", |
@@ -780,7 +780,7 b'' | |||
|
780 | 780 | "language": "python", |
|
781 | 781 | "metadata": {}, |
|
782 | 782 | "outputs": [], |
|
783 |
"prompt_number": 2 |
|
|
783 | "prompt_number": 24 | |
|
784 | 784 | }, |
|
785 | 785 | { |
|
786 | 786 | "cell_type": "heading", |
@@ -1164,7 +1164,7 b'' | |||
|
1164 | 1164 | "language": "python", |
|
1165 | 1165 | "metadata": {}, |
|
1166 | 1166 | "outputs": [], |
|
1167 |
"prompt_number": 2 |
|
|
1167 | "prompt_number": 25 | |
|
1168 | 1168 | }, |
|
1169 | 1169 | { |
|
1170 | 1170 | "cell_type": "heading", |
@@ -1197,7 +1197,7 b'' | |||
|
1197 | 1197 | "language": "python", |
|
1198 | 1198 | "metadata": {}, |
|
1199 | 1199 | "outputs": [], |
|
1200 |
"prompt_number": |
|
|
1200 | "prompt_number": 26 | |
|
1201 | 1201 | }, |
|
1202 | 1202 | { |
|
1203 | 1203 | "cell_type": "markdown", |
@@ -1216,7 +1216,7 b'' | |||
|
1216 | 1216 | "language": "python", |
|
1217 | 1217 | "metadata": {}, |
|
1218 | 1218 | "outputs": [], |
|
1219 |
"prompt_number": |
|
|
1219 | "prompt_number": 27 | |
|
1220 | 1220 | }, |
|
1221 | 1221 | { |
|
1222 | 1222 | "cell_type": "heading", |
@@ -1273,7 +1273,7 b'' | |||
|
1273 | 1273 | "language": "python", |
|
1274 | 1274 | "metadata": {}, |
|
1275 | 1275 | "outputs": [], |
|
1276 |
"prompt_number": |
|
|
1276 | "prompt_number": 28 | |
|
1277 | 1277 | }, |
|
1278 | 1278 | { |
|
1279 | 1279 | "cell_type": "heading", |
@@ -1307,7 +1307,7 b'' | |||
|
1307 | 1307 | "language": "python", |
|
1308 | 1308 | "metadata": {}, |
|
1309 | 1309 | "outputs": [], |
|
1310 |
"prompt_number": |
|
|
1310 | "prompt_number": 29 | |
|
1311 | 1311 | }, |
|
1312 | 1312 | { |
|
1313 | 1313 | "cell_type": "heading", |
@@ -1326,27 +1326,27 b'' | |||
|
1326 | 1326 | "collapsed": false, |
|
1327 | 1327 | "input": [ |
|
1328 | 1328 | "classes = [\n", |
|
1329 |
" 'progress- |
|
|
1330 |
" 'progress- |
|
|
1331 |
" 'progress- |
|
|
1332 |
" 'progress- |
|
|
1333 |
" 'progress- |
|
|
1334 |
" 'progress- |
|
|
1335 |
" 'progress- |
|
|
1336 |
" 'progress- |
|
|
1337 |
" 'active progress- |
|
|
1338 |
" 'active progress- |
|
|
1339 |
" 'active progress- |
|
|
1340 |
" 'active progress- |
|
|
1329 | " 'progress-info', \n", | |
|
1330 | " 'progress-success', \n", | |
|
1331 | " 'progress-warning', \n", | |
|
1332 | " 'progress-danger',\n", | |
|
1333 | " 'progress-info progress-striped', \n", | |
|
1334 | " 'progress-success progress-striped', \n", | |
|
1335 | " 'progress-warning progress-striped', \n", | |
|
1336 | " 'progress-danger progress-striped',\n", | |
|
1337 | " 'active progress-info progress-striped', \n", | |
|
1338 | " 'active progress-success progress-striped', \n", | |
|
1339 | " 'active progress-warning progress-striped', \n", | |
|
1340 | " 'active progress-danger progress-striped',\n", | |
|
1341 | 1341 | "]\n", |
|
1342 | 1342 | "ws = [widgets.IntProgressWidget(value=50, description=c) for c in classes]\n", |
|
1343 | 1343 | "ret = [display(w) for w in ws]\n", |
|
1344 |
"ret = [ws[i].add_class(c |
|
|
1344 | "ret = [ws[i].add_class(c) for i, cs in enumerate(classes) for c in cs.split(' ')]" | |
|
1345 | 1345 | ], |
|
1346 | 1346 | "language": "python", |
|
1347 | 1347 | "metadata": {}, |
|
1348 | 1348 | "outputs": [], |
|
1349 |
"prompt_number": |
|
|
1349 | "prompt_number": 31 | |
|
1350 | 1350 | }, |
|
1351 | 1351 | { |
|
1352 | 1352 | "cell_type": "heading", |
@@ -1378,7 +1378,7 b'' | |||
|
1378 | 1378 | "language": "python", |
|
1379 | 1379 | "metadata": {}, |
|
1380 | 1380 | "outputs": [], |
|
1381 |
"prompt_number": |
|
|
1381 | "prompt_number": 32 | |
|
1382 | 1382 | }, |
|
1383 | 1383 | { |
|
1384 | 1384 | "cell_type": "code", |
@@ -1389,7 +1389,7 b'' | |||
|
1389 | 1389 | "language": "python", |
|
1390 | 1390 | "metadata": {}, |
|
1391 | 1391 | "outputs": [], |
|
1392 |
"prompt_number": |
|
|
1392 | "prompt_number": 33 | |
|
1393 | 1393 | }, |
|
1394 | 1394 | { |
|
1395 | 1395 | "cell_type": "code", |
@@ -1400,7 +1400,7 b'' | |||
|
1400 | 1400 | "language": "python", |
|
1401 | 1401 | "metadata": {}, |
|
1402 | 1402 | "outputs": [], |
|
1403 |
"prompt_number": |
|
|
1403 | "prompt_number": 34 | |
|
1404 | 1404 | }, |
|
1405 | 1405 | { |
|
1406 | 1406 | "cell_type": "heading", |
@@ -1449,7 +1449,7 b'' | |||
|
1449 | 1449 | "language": "python", |
|
1450 | 1450 | "metadata": {}, |
|
1451 | 1451 | "outputs": [], |
|
1452 |
"prompt_number": 5 |
|
|
1452 | "prompt_number": 35 | |
|
1453 | 1453 | }, |
|
1454 | 1454 | { |
|
1455 | 1455 | "cell_type": "markdown", |
General Comments 0
You need to be logged in to leave comments.
Login now