Skip to content
Permalink
Browse files

Fix exception

  • Loading branch information...
williamsmj committed Feb 2, 2016
1 parent a3a365a commit cedcadee87c878e48192b4fb845dd7b3c322236f
Showing with 29 additions and 11 deletions.
  1. +29 −11 notebook.ipynb
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {
"collapsed": false
},
@@ -14,26 +14,44 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 3,
"metadata": {
"collapsed": false
},
"outputs": [
{
"ename": "NameError",
"evalue": "name 'plt' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-1-e426dd61f8f7>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mplot\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;36m2\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;36m3\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;31mNameError\u001b[0m: name 'plt' is not defined"
]
"data": {
"text/plain": [
"[<matplotlib.lines.Line2D at 0x10e6b9a58>]"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXkAAAEACAYAAABWLgY0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAADrxJREFUeJzt3V+IXOd9xvHnSZ1EBYMhKShFim2ysXEcMKpTbAuXaBoo\nsUrBNzIOGKLmxqJWkCA3hVLwCkIhd7Gu5AbbwgmhEiZYSmR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I0idt/1rSk5I+Jiki4h8j4iXbf2n7HUm/lfS1OicMACiv1HYNAKCfavmzBrYf\nsn3e9n/Y/tsZYxa6gGqIio6n7V22P7B9Jrv9fRvz7IM6L+4bmqJjyXk5H9vbbf+r7XO2X7d9YMa4\n+c7PiKj0psk3jnck3Sbpo5LOSrprw5jdkk5l9++X9GrV80jlVvJ47pJ0su259uEm6c8k7ZD0ixmv\nc25Wdyw5L+c7np+StCO7f7Okf69i7ayj5O+T9HZE/CoififpnzS5YCpvrguoBq7M8ZRm/2AcOVHx\nxX1DVuJYSpyXpUXExYg4m92/LOktTa45ypv7/Kxjkd94cdR/6saJzrqACjcqczwlaWf2z7dTtu9u\nZmpJ4tysFuflAmzfrsm/kk5veGnu87MTf4USS3tN0q0RcSX7W0IvSrqz5TkBnJcLsH2zpBckHcyK\nfil1lPwFSbfmHm/Pnts45tMFYzBReDwj4nJEXMnuvyzpo7Y/0dwUk8K5WRHOy/nZvkmTBf67EXFi\nypC5z886Fvl/k/RZ27fZ/pikr2hywVTeSUlflaSiC6hQfDzze3K279PkV2Pfb3aavVJ0cR/nZnkz\njyXn5UKelfRmRDw14/W5z8/Kt2si4n9tf13SP2vyTeSZiHjL9j5xAdXcyhxPSXts/42k30n6b0mP\ntjfjbuPivuoUHUtxXs7F9oOSHpP0uu01SSHp7zT5zbqFz08uhgKAhHXm//EKAKgeizwAJIxFHgAS\nxiIPAAljkQeAhLHIA0DCWOQBIGEs8gCQsP8DWgZ24xhW+aIAAAAASUVORK5CYII=\n",
"text/plain": [
"<matplotlib.figure.Figure at 0x10d0af400>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"plt.plot([1,2,3])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {

0 comments on commit cedcade

Please sign in to comment.
You can’t perform that action at this time.