##// END OF EJS Templates
Update examples, fixing bugs found in review.
Jonathan Frederic -
Show More
@@ -1,6 +1,5 b''
1 {
1 {
2 "metadata": {
2 "metadata": {
3 "celltoolbar": "Slideshow",
4 "kernelspec": {
3 "kernelspec": {
5 "codemirror_mode": {
4 "codemirror_mode": {
6 "name": "python",
5 "name": "python",
@@ -11,7 +10,7 b''
11 "name": "python2"
10 "name": "python2"
12 },
11 },
13 "name": "",
12 "name": "",
14 "signature": "sha256:ebbb9b368e8b07ec14fd5ee494586e605be36631657f2a9d9a6475ead41a3e04"
13 "signature": "sha256:608e0df06fe91ef1c013fd236dda33f7ae11019453f72ae446e8ce15bce82eb2"
15 },
14 },
16 "nbformat": 3,
15 "nbformat": 3,
17 "nbformat_minor": 0,
16 "nbformat_minor": 0,
@@ -10,7 +10,7 b''
10 "name": "python2"
10 "name": "python2"
11 },
11 },
12 "name": "",
12 "name": "",
13 "signature": "sha256:cbc67230b7f7d3d8c7ab3a3c5910aaa3e0caf736d0d963892cb2139683caf5fb"
13 "signature": "sha256:8e469f292b096d750dc8eeb71caa8c08b26bc722708314a26a7684c380ccd20f"
14 },
14 },
15 "nbformat": 3,
15 "nbformat": 3,
16 "nbformat_minor": 0,
16 "nbformat_minor": 0,
@@ -62,7 +62,7 b''
62 "- [Widget Basics](Widget Basics.ipynb) \n",
62 "- [Widget Basics](Widget Basics.ipynb) \n",
63 "- [Widget Events](Widget Events.ipynb) \n",
63 "- [Widget Events](Widget Events.ipynb) \n",
64 "- [Widget Placement](Widget Placement.ipynb) \n",
64 "- [Widget Placement](Widget Placement.ipynb) \n",
65 "- [Widget Styles](Widget Styles.ipynb) \n",
65 "- [Widget Styling](Widget Styling.ipynb) \n",
66 "- [Custom Widget](Custom Widget - Hello World.ipynb)"
66 "- [Custom Widget](Custom Widget - Hello World.ipynb)"
67 ]
67 ]
68 },
68 },
@@ -10,7 +10,7 b''
10 "name": "python2"
10 "name": "python2"
11 },
11 },
12 "name": "",
12 "name": "",
13 "signature": "sha256:044aa64f06487b5a08eb26102a46538bfb4e00d37a4cc14edcdf54986a9ef68e"
13 "signature": "sha256:3dfbc0dcb1fefc9ef028022760916b0300e14f71bf8e27589e61800841d5839c"
14 },
14 },
15 "nbformat": 3,
15 "nbformat": 3,
16 "nbformat_minor": 0,
16 "nbformat_minor": 0,
@@ -142,14 +142,14 b''
142 "output_box = widgets.Textarea()\n",
142 "output_box = widgets.Textarea()\n",
143 "output_box.height = '400px'\n",
143 "output_box.height = '400px'\n",
144 "output_box.font_family = 'monospace'\n",
144 "output_box.font_family = 'monospace'\n",
145 "output_box.fore_color = '#AAAAAA'\n",
145 "output_box.color = '#AAAAAA'\n",
146 "output_box.back_color = 'black'\n",
146 "output_box.background_color = 'black'\n",
147 "output_box.width = '800px'\n",
147 "output_box.width = '800px'\n",
148 "\n",
148 "\n",
149 "input_box = widgets.Text()\n",
149 "input_box = widgets.Text()\n",
150 "input_box.font_family = 'monospace'\n",
150 "input_box.font_family = 'monospace'\n",
151 "input_box.fore_color = '#AAAAAA'\n",
151 "input_box.color = '#AAAAAA'\n",
152 "input_box.back_color = 'black'\n",
152 "input_box.background_color = 'black'\n",
153 "input_box.width = '800px'\n",
153 "input_box.width = '800px'\n",
154 "\n",
154 "\n",
155 "console_container.children = [output_box, input_box]"
155 "console_container.children = [output_box, input_box]"
@@ -1,6 +1,5 b''
1 {
1 {
2 "metadata": {
2 "metadata": {
3 "celltoolbar": "Slideshow",
4 "kernelspec": {
3 "kernelspec": {
5 "codemirror_mode": {
4 "codemirror_mode": {
6 "name": "python",
5 "name": "python",
@@ -11,7 +10,7 b''
11 "name": "python2"
10 "name": "python2"
12 },
11 },
13 "name": "",
12 "name": "",
14 "signature": "sha256:942aa1b77fbab2ba0fa5e52a6e30fe1231a07e5f2a9ef9fc495e106a08e65e39"
13 "signature": "sha256:c8af7f5d30b29ee52fe6a79cf0d573c9c2d5b2f522b04731249e3208671741d3"
15 },
14 },
16 "nbformat": 3,
15 "nbformat": 3,
17 "nbformat_minor": 0,
16 "nbformat_minor": 0,
@@ -6,7 +6,6 b''
6 null
6 null
7 ]
7 ]
8 ],
8 ],
9 "celltoolbar": "Slideshow",
10 "kernelspec": {
9 "kernelspec": {
11 "codemirror_mode": {
10 "codemirror_mode": {
12 "name": "python",
11 "name": "python",
@@ -17,7 +16,7 b''
17 "name": "python2"
16 "name": "python2"
18 },
17 },
19 "name": "",
18 "name": "",
20 "signature": "sha256:0e46490eebb11503b7a7411065535d6fbc5ebcf61a519f0b030281f303086bdc"
19 "signature": "sha256:05a3e92089b37f68e3134587ffef6ef73830e5f8b3c515ba24640d7c803820c3"
21 },
20 },
22 "nbformat": 3,
21 "nbformat": 3,
23 "nbformat_minor": 0,
22 "nbformat_minor": 0,
@@ -1,6 +1,5 b''
1 {
1 {
2 "metadata": {
2 "metadata": {
3 "celltoolbar": "Slideshow",
4 "kernelspec": {
3 "kernelspec": {
5 "codemirror_mode": {
4 "codemirror_mode": {
6 "name": "python",
5 "name": "python",
@@ -11,7 +10,7 b''
11 "name": "python2"
10 "name": "python2"
12 },
11 },
13 "name": "",
12 "name": "",
14 "signature": "sha256:869807fa658843bb4742bab3bab7ce4d164a0e3285e3bf840ad76ede2e252b79"
13 "signature": "sha256:83b39d018a7a6ae0a324b9f3d38debafbfb2ed0a114e4bbd357fb318f8f23438"
15 },
14 },
16 "nbformat": 3,
15 "nbformat": 3,
17 "nbformat_minor": 0,
16 "nbformat_minor": 0,
@@ -6,7 +6,6 b''
6 null
6 null
7 ]
7 ]
8 ],
8 ],
9 "celltoolbar": "Slideshow",
10 "kernelspec": {
9 "kernelspec": {
11 "codemirror_mode": {
10 "codemirror_mode": {
12 "name": "python",
11 "name": "python",
@@ -17,7 +16,7 b''
17 "name": "python2"
16 "name": "python2"
18 },
17 },
19 "name": "",
18 "name": "",
20 "signature": "sha256:f6e8d46c3edeaf2371bf508730c093f8d1005cc9be13072aabf71dc3f49b2c3b"
19 "signature": "sha256:8bb091be85fd5e7f76082b1b4b98cddec92a856334935ac2c702fe5ec03f6eff"
21 },
20 },
22 "nbformat": 3,
21 "nbformat": 3,
23 "nbformat_minor": 0,
22 "nbformat_minor": 0,
@@ -108,8 +107,8 b''
108 " description='Hello World!',\n",
107 " description='Hello World!',\n",
109 " width=100, # Integers are interpreted as pixel measurements.\n",
108 " width=100, # Integers are interpreted as pixel measurements.\n",
110 " height='2em', # em is valid HTML unit of measurement.\n",
109 " height='2em', # em is valid HTML unit of measurement.\n",
111 " fore_color='lime', # Colors can be set by name,\n",
110 " color='lime', # Colors can be set by name,\n",
112 " back_color='#0022FF', # and also by color code.\n",
111 " background_color='#0022FF', # and also by color code.\n",
113 " border_color='red')\n",
112 " border_color='red')\n",
114 "display(button)"
113 "display(button)"
115 ],
114 ],
General Comments 0
You need to be logged in to leave comments. Login now