Skip to content

Commit

Permalink
add kernel metadata to example notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Jan 30, 2015
1 parent 6ceb449 commit 8f4dcac
Show file tree
Hide file tree
Showing 70 changed files with 13,534 additions and 4,165 deletions.
22 changes: 20 additions & 2 deletions examples/Customization/Index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/Embedding/Index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/IPython Kernel/Animations Using clear_output.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/IPython Kernel/Background Jobs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
30 changes: 24 additions & 6 deletions examples/IPython Kernel/Beyond Plain Python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Tab completion, especially for attributes, is a convenient way to explore the structure of any object you\u2019re dealing with. Simply type `object_name.<TAB>` to view the object\u2019s attributes. Besides Python objects and keywords, tab completion also works on file and directory names."
"Tab completion, especially for attributes, is a convenient way to explore the structure of any object you’re dealing with. Simply type `object_name.<TAB>` to view the object’s attributes. Besides Python objects and keywords, tab completion also works on file and directory names."
]
},
{
Expand Down Expand Up @@ -721,9 +721,9 @@
"text": [
"size: 010000000 loops, best of 3: 129 ns per loop\n",
" size: 1001000000 loops, best of 3: 649 ns per loop\n",
" size: 2001000000 loops, best of 3: 1.09 \u00b5s per loop\n",
" size: 3001000000 loops, best of 3: 1.74 \u00b5s per loop\n",
" size: 400100000 loops, best of 3: 2.72 \u00b5s per loop\n",
" size: 2001000000 loops, best of 3: 1.09 µs per loop\n",
" size: 3001000000 loops, best of 3: 1.74 µs per loop\n",
" size: 400100000 loops, best of 3: 2.72 µs per loop\n",
"\n"
]
}
Expand Down Expand Up @@ -1799,7 +1799,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/IPython Kernel/Capturing Output.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/IPython Kernel/Cell Magics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/IPython Kernel/Custom Display Logic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,25 @@
"source": []
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/IPython Kernel/Index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
28 changes: 23 additions & 5 deletions examples/IPython Kernel/Old Custom Display Logic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -586,9 +586,9 @@
"$$\\frac{3}{2} \\pi + \\frac{e^{\\mathbf{\\imath} x}}{x^{2} + y}$$"
],
"text/plain": [
" \u2148\u22c5x \n",
"3\u22c5\u03c0 \u212f \n",
"\u2500\u2500\u2500 + \u2500\u2500\u2500\u2500\u2500\u2500\n",
" ⅈ⋅x \n",
"3⋅π \n",
"─── + ──────\n",
" 2 2 \n",
" x + y"
]
Expand Down Expand Up @@ -1477,7 +1477,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/IPython Kernel/Plotting in the Notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
22 changes: 20 additions & 2 deletions examples/IPython Kernel/Raw Input in the Notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,25 @@
]
}
],
"metadata": {},
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
Loading

0 comments on commit 8f4dcac

Please sign in to comment.