Skip to content

Instantly share code, notes, and snippets.

@greeness
Created January 10, 2014 00:39
Show Gist options
  • Select an option

  • Save greeness/8344890 to your computer and use it in GitHub Desktop.

Select an option

Save greeness/8344890 to your computer and use it in GitHub Desktop.
Test ipython viewer against an octave run
{
"metadata": {
"name": "Untitled0"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": "%load_ext octavemagic",
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": "octave [1 2; 3 4];",
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "pyout",
"prompt_number": 2,
"text": "array([[ 1., 2.],\n [ 3., 4.]])"
}
],
"prompt_number": 2
},
{
"cell_type": "code",
"collapsed": false,
"input": "",
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment