Show More
@@ -298,8 +298,8 b'' | |||||
298 | "source": [ |
|
298 | "source": [ | |
299 | "from IPython.display import display\n", |
|
299 | "from IPython.display import display\n", | |
300 | "w = widgets.Dropdown(\n", |
|
300 | "w = widgets.Dropdown(\n", | |
301 | " values=[1, 2, 3],\n", |
|
301 | " values=['1', '2', '3'],\n", | |
302 | " value=2,\n", |
|
302 | " value='2',\n", | |
303 | " description='Number:',\n", |
|
303 | " description='Number:',\n", | |
304 | ")\n", |
|
304 | ")\n", | |
305 | "display(w)" |
|
305 | "display(w)" | |
@@ -565,16 +565,22 b'' | |||||
565 | ], |
|
565 | ], | |
566 | "metadata": { |
|
566 | "metadata": { | |
567 | "kernelspec": { |
|
567 | "kernelspec": { | |
568 | "codemirror_mode": { |
|
|||
569 | "name": "python", |
|
|||
570 | "version": 2 |
|
|||
571 | }, |
|
|||
572 | "display_name": "Python 2", |
|
568 | "display_name": "Python 2", | |
573 | "language": "python", |
|
|||
574 | "name": "python2" |
|
569 | "name": "python2" | |
575 | }, |
|
570 | }, | |
576 | "signature": "sha256:83b39d018a7a6ae0a324b9f3d38debafbfb2ed0a114e4bbd357fb318f8f23438" |
|
571 | "language_info": { | |
|
572 | "codemirror_mode": { | |||
|
573 | "name": "ipython", | |||
|
574 | "version": 2 | |||
|
575 | }, | |||
|
576 | "file_extension": ".py", | |||
|
577 | "mimetype": "text/x-python", | |||
|
578 | "name": "python", | |||
|
579 | "nbconvert_exporter": "python", | |||
|
580 | "pygments_lexer": "ipython2", | |||
|
581 | "version": "2.7.8" | |||
|
582 | } | |||
577 | }, |
|
583 | }, | |
578 | "nbformat": 4, |
|
584 | "nbformat": 4, | |
579 | "nbformat_minor": 0 |
|
585 | "nbformat_minor": 0 | |
580 | } No newline at end of file |
|
586 | } |
General Comments 0
You need to be logged in to leave comments.
Login now