Skip to content

Commit 2a32bc3

Browse files
committed
Update some more widget examples from ipython repo
1 parent ce0b49b commit 2a32bc3

9 files changed

+502
-725
lines changed

examples/Interactive Widgets/Custom Widget - Hello World.ipynb

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@
179179
"- Tuple\n",
180180
"- Type\n",
181181
"- Unicode\n",
182+
"- Union\n",
183+
"\n",
182184
"\n",
183185
"**Not all of these traitlets can be synchronized** across the network, **only the JSON-able** traits and **Widget instances** will be synchronized."
184186
]
@@ -223,7 +225,7 @@
223225
"cell_type": "markdown",
224226
"metadata": {},
225227
"source": [
226-
"You first need to **import the `widget` and `manager` modules**. You will use it later to register your view by name (the same name you used in the back-end). To import the modules, use the `require` method of [require.js](http://requirejs.org/) (as seen below)."
228+
"You first need to **import the `widget` and `manager` modules**. You will use the manager later to register your view by name (the same name you used in the back-end). To import the modules, use the `require` method of [require.js](http://requirejs.org/) (as seen below).\n"
227229
]
228230
},
229231
{
@@ -769,15 +771,23 @@
769771
],
770772
"metadata": {
771773
"kernelspec": {
772-
"codemirror_mode": {
773-
"name": "python",
774-
"version": 2
775-
},
776-
"display_name": "Python 2",
774+
"display_name": "Python 3",
777775
"language": "python",
778-
"name": "python2"
776+
"name": "python3"
777+
},
778+
"language_info": {
779+
"codemirror_mode": {
780+
"name": "ipython",
781+
"version": 3
782+
},
783+
"file_extension": ".py",
784+
"mimetype": "text/x-python",
785+
"name": "python",
786+
"nbconvert_exporter": "python",
787+
"pygments_lexer": "ipython3",
788+
"version": "3.4.0"
779789
}
780790
},
781791
"nbformat": 4,
782792
"nbformat_minor": 0
783-
}
793+
}

0 commit comments

Comments
 (0)