Skip to content

Commit dd1ea9a

Browse files
committed
Load iFrame for JavaScript Drum Kit in a Jupyter Notebook
1 parent e98c2ac commit dd1ea9a

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {
7+
"collapsed": false
8+
},
9+
"outputs": [
10+
{
11+
"data": {
12+
"text/html": [
13+
"\n",
14+
" <iframe\n",
15+
" width=\"700\"\n",
16+
" height=\"350\"\n",
17+
" src=\"index.html\"\n",
18+
" frameborder=\"0\"\n",
19+
" allowfullscreen\n",
20+
" ></iframe>\n",
21+
" "
22+
],
23+
"text/plain": [
24+
"<IPython.lib.display.IFrame at 0x106361780>"
25+
]
26+
},
27+
"execution_count": 1,
28+
"metadata": {},
29+
"output_type": "execute_result"
30+
}
31+
],
32+
"source": [
33+
"from IPython.display import IFrame\n",
34+
"IFrame('index.html', width=700, height=350)"
35+
]
36+
},
37+
{
38+
"cell_type": "code",
39+
"execution_count": null,
40+
"metadata": {
41+
"collapsed": true
42+
},
43+
"outputs": [],
44+
"source": []
45+
}
46+
],
47+
"metadata": {
48+
"anaconda-cloud": {},
49+
"kernelspec": {
50+
"display_name": "Python [Root]",
51+
"language": "python",
52+
"name": "Python [Root]"
53+
},
54+
"language_info": {
55+
"codemirror_mode": {
56+
"name": "ipython",
57+
"version": 3
58+
},
59+
"file_extension": ".py",
60+
"mimetype": "text/x-python",
61+
"name": "python",
62+
"nbconvert_exporter": "python",
63+
"pygments_lexer": "ipython3",
64+
"version": "3.5.2"
65+
}
66+
},
67+
"nbformat": 4,
68+
"nbformat_minor": 0
69+
}

0 commit comments

Comments
 (0)