##// END OF EJS Templates
use %pylab inline in rmagic notebook
MinRK -
Show More
@@ -16,6 +16,16 b''
16 ]
16 ]
17 },
17 },
18 {
18 {
19 "cell_type": "code",
20 "collapsed": false,
21 "input": [
22 "%pylab inline"
23 ],
24 "language": "python",
25 "metadata": {},
26 "outputs": []
27 },
28 {
19 "cell_type": "heading",
29 "cell_type": "heading",
20 "level": 2,
30 "level": 2,
21 "metadata": {},
31 "metadata": {},
@@ -34,8 +44,7 b''
34 "cell_type": "code",
44 "cell_type": "code",
35 "collapsed": true,
45 "collapsed": true,
36 "input": [
46 "input": [
37 "%load_ext rmagic\n",
47 "%load_ext rmagic "
38 " "
39 ],
48 ],
40 "language": "python",
49 "language": "python",
41 "metadata": {},
50 "metadata": {},
@@ -58,7 +67,7 b''
58 "import pylab\n",
67 "import pylab\n",
59 "X = np.array([0,1,2,3,4])\n",
68 "X = np.array([0,1,2,3,4])\n",
60 "Y = np.array([3,5,4,6,7])\n",
69 "Y = np.array([3,5,4,6,7])\n",
61 "pylab.scatter(X, Y)\n"
70 "pylab.scatter(X, Y)"
62 ],
71 ],
63 "language": "python",
72 "language": "python",
64 "metadata": {},
73 "metadata": {},
General Comments 0
You need to be logged in to leave comments. Login now