Commit 4e9e533c authored by Martín Gaitán's avatar Martín Gaitán

update notebook example

parent 4f3f0c5d
{ {
"metadata": { "metadata": {
"name": "Cython Magics" "name": "",
"signature": "sha256:72d92961ad5ed0edc2b71d8b835c31c35d82d67c6f7f2360d56c2c708f1d9767"
}, },
"nbformat": 3, "nbformat": 3,
"nbformat_minor": 0, "nbformat_minor": 0,
...@@ -27,14 +28,14 @@ ...@@ -27,14 +28,14 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"IPtyhon has a `cythonmagic` extension that contains a number of magic functions for working with Cython code. This extension can be loaded using the `%load_ext` magic as follows:" "Cython has an IPython extension that contains a number of magic functions for working with Cython code. This extension can be loaded using the `%load_ext` magic as follows:"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"collapsed": false, "collapsed": false,
"input": [ "input": [
"%load_ext cythonmagic" "%load_ext cython"
], ],
"language": "python", "language": "python",
"metadata": {}, "metadata": {},
...@@ -79,6 +80,7 @@ ...@@ -79,6 +80,7 @@
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 3, "prompt_number": 3,
"text": [ "text": [
...@@ -126,6 +128,7 @@ ...@@ -126,6 +128,7 @@
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 5, "prompt_number": 5,
"text": [ "text": [
...@@ -200,6 +203,7 @@ ...@@ -200,6 +203,7 @@
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 7, "prompt_number": 7,
"text": [ "text": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment