Show More
@@ -1,1193 +1,1195 b'' | |||
|
1 | 1 | { |
|
2 | 2 | "metadata": { |
|
3 | 3 | "name": "00_notebook_tour" |
|
4 | 4 | }, |
|
5 | 5 | "nbformat": 3, |
|
6 | 6 | "nbformat_minor": 0, |
|
7 | 7 | "worksheets": [ |
|
8 | 8 | { |
|
9 | 9 | "cells": [ |
|
10 | 10 | { |
|
11 | 11 | "cell_type": "markdown", |
|
12 | 12 | "metadata": {}, |
|
13 | 13 | "source": [ |
|
14 | 14 | "# A brief tour of the IPython notebook\n", |
|
15 | 15 | "\n", |
|
16 | 16 | "This document will give you a brief tour of the capabilities of the IPython notebook. \n", |
|
17 | 17 | "You can view its contents by scrolling around, or execute each cell by typing `Shift-Enter`.\n", |
|
18 | 18 | "After you conclude this brief high-level tour, you should read the accompanying notebook \n", |
|
19 | 19 | "titled `01_notebook_introduction`, which takes a more step-by-step approach to the features of the\n", |
|
20 | 20 | "system. \n", |
|
21 | 21 | "\n", |
|
22 | 22 | "The rest of the notebooks in this directory illustrate various other aspects and \n", |
|
23 | 23 | "capabilities of the IPython notebook; some of them may require additional libraries to be executed.\n", |
|
24 | 24 | "\n", |
|
25 | 25 | "**NOTE:** This notebook *must* be run from its own directory, so you must ``cd``\n", |
|
26 | 26 | "to this directory and then start the notebook, but do *not* use the ``--notebook-dir``\n", |
|
27 | 27 | "option to run it from another location.\n", |
|
28 | 28 | "\n", |
|
29 | 29 | "The first thing you need to know is that you are still controlling the same old IPython you're used to,\n", |
|
30 | 30 | "so things like shell aliases and magic commands still work:" |
|
31 | 31 | ] |
|
32 | 32 | }, |
|
33 | 33 | { |
|
34 | 34 | "cell_type": "code", |
|
35 | 35 | "collapsed": false, |
|
36 | 36 | "input": [ |
|
37 | 37 | "pwd" |
|
38 | 38 | ], |
|
39 | 39 | "language": "python", |
|
40 | 40 | "metadata": {}, |
|
41 | 41 | "outputs": [ |
|
42 | 42 | { |
|
43 | 43 | "output_type": "pyout", |
|
44 | 44 | "prompt_number": 1, |
|
45 | 45 | "text": [ |
|
46 | 46 | "u'/Users/minrk/dev/ip/mine/docs/examples/notebooks'" |
|
47 | 47 | ] |
|
48 | 48 | } |
|
49 | 49 | ], |
|
50 | 50 | "prompt_number": 1 |
|
51 | 51 | }, |
|
52 | 52 | { |
|
53 | 53 | "cell_type": "code", |
|
54 | 54 | "collapsed": false, |
|
55 | 55 | "input": [ |
|
56 | 56 | "ls" |
|
57 | 57 | ], |
|
58 | 58 | "language": "python", |
|
59 | 59 | "metadata": {}, |
|
60 | 60 | "outputs": [ |
|
61 | 61 | { |
|
62 | 62 | "output_type": "stream", |
|
63 | 63 | "stream": "stdout", |
|
64 | 64 | "text": [ |
|
65 | 65 | "00_notebook_tour.ipynb callbacks.ipynb python-logo.svg\r\n", |
|
66 | 66 | "01_notebook_introduction.ipynb cython_extension.ipynb rmagic_extension.ipynb\r\n", |
|
67 | 67 | "Animations_and_Progress.ipynb display_protocol.ipynb sympy.ipynb\r\n", |
|
68 | 68 | "Capturing Output.ipynb formatting.ipynb sympy_quantum_computing.ipynb\r\n", |
|
69 | 69 | "Script Magics.ipynb octavemagic_extension.ipynb trapezoid_rule.ipynb\r\n", |
|
70 | 70 | "animation.m4v progbar.ipynb\r\n" |
|
71 | 71 | ] |
|
72 | 72 | } |
|
73 | 73 | ], |
|
74 | 74 | "prompt_number": 2 |
|
75 | 75 | }, |
|
76 | 76 | { |
|
77 | 77 | "cell_type": "code", |
|
78 | 78 | "collapsed": false, |
|
79 | 79 | "input": [ |
|
80 | 80 | "message = 'The IPython notebook is great!'\n", |
|
81 | 81 | "# note: the echo command does not run on Windows, it's a unix command.\n", |
|
82 | 82 | "!echo $message" |
|
83 | 83 | ], |
|
84 | 84 | "language": "python", |
|
85 | 85 | "metadata": {}, |
|
86 | 86 | "outputs": [ |
|
87 | 87 | { |
|
88 | 88 | "output_type": "stream", |
|
89 | 89 | "stream": "stdout", |
|
90 | 90 | "text": [ |
|
91 | 91 | "The IPython notebook is great!\r\n" |
|
92 | 92 | ] |
|
93 | 93 | } |
|
94 | 94 | ], |
|
95 | 95 | "prompt_number": 3 |
|
96 | 96 | }, |
|
97 | 97 | { |
|
98 | 98 | "cell_type": "heading", |
|
99 | 99 | "level": 2, |
|
100 | 100 | "metadata": {}, |
|
101 | 101 | "source": [ |
|
102 | 102 | "Plots with matplotlib" |
|
103 | 103 | ] |
|
104 | 104 | }, |
|
105 | 105 | { |
|
106 | 106 | "cell_type": "markdown", |
|
107 | 107 | "metadata": {}, |
|
108 | 108 | "source": [ |
|
109 | 109 | "IPython adds an 'inline' matplotlib backend,\n", |
|
110 | 110 | "which embeds any matplotlib figures into the notebook." |
|
111 | 111 | ] |
|
112 | 112 | }, |
|
113 | 113 | { |
|
114 | 114 | "cell_type": "code", |
|
115 | 115 | "collapsed": false, |
|
116 | 116 | "input": [ |
|
117 | 117 | "%pylab inline" |
|
118 | 118 | ], |
|
119 | 119 | "language": "python", |
|
120 | 120 | "metadata": {}, |
|
121 | 121 | "outputs": [ |
|
122 | 122 | { |
|
123 | 123 | "output_type": "stream", |
|
124 | 124 | "stream": "stdout", |
|
125 | 125 | "text": [ |
|
126 | 126 | "\n", |
|
127 | 127 | "Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.zmq.pylab.backend_inline].\n", |
|
128 | 128 | "For more information, type 'help(pylab)'.\n" |
|
129 | 129 | ] |
|
130 | 130 | } |
|
131 | 131 | ], |
|
132 | 132 | "prompt_number": 4 |
|
133 | 133 | }, |
|
134 | 134 | { |
|
135 | 135 | "cell_type": "code", |
|
136 | 136 | "collapsed": false, |
|
137 | 137 | "input": [ |
|
138 | 138 | "x = linspace(0, 3*pi, 500)\n", |
|
139 | 139 | "plot(x, sin(x**2))\n", |
|
140 | 140 | "title('A simple chirp');" |
|
141 | 141 | ], |
|
142 | 142 | "language": "python", |
|
143 | 143 | "metadata": {}, |
|
144 | 144 | "outputs": [ |
|
145 | 145 | { |
|
146 | 146 | "output_type": "display_data", |
|
147 | 147 | "png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEICAYAAACzliQjAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJztfXt0VdWd/+fmwSvhlUDeAcSECREFFWtLi8YKWlBTrS8c\nq1StZVppO21XZ3XNrJnqmqmF6XSpa9EquqYVOlZp+6tCUfHZKK2ltIpohcqjonnwCOQBeSc35/fH\n7s49OTmP/Tzn3GR/1sqCJGc/7s09n/05n+93f3fCsiwLBgYGBgZjAhlRT8DAwMDAIDwY0jcwMDAY\nQzCkb2BgYDCGYEjfwMDAYAzBkL6BgYHBGIIhfQMDA4MxBEP6BmmPJ554AldeeaWWvr/whS/g3//9\n35X2ee+99+K2227z/P2CBQvw+uuvKx3TwIDCkL5B5KipqUFeXh76+vqE2t9666144YUXFM+KIJFI\nIJFIKO/TD3/5y19wySWXKB3TwIDCkL5BpDhy5Ah2796NgoICbNu2LerpuEL1/kWZ/pLJpMKZGIxF\nGNI3iBSbN2/GsmXLcNttt2HTpk2+1z7++OM4++yzMWXKFMydOxc///nPh36+dOnSoesyMjLw8MMP\no7KyElOmTMF//Md/4PDhw/jEJz6BadOmYdWqVejv7wcA1NXVoaysDN///vcxc+ZMnHXWWUP9umH7\n9u1YtGgRpk+fjk9+8pN49913Pa997733sHz5cuTn56OoqAjf//73ARCl39fXh9WrV2PKlClYsGAB\n3nzzzaF2c+bMwauvvgqAWEE33HADbrvtNkydOhWPP/740M9WrVqFKVOm4MILL8Q777wT8E4bGBAY\n0jeIFJs3b8bNN9+Mm266CS+88AJOnDjhel1nZye+/vWvY8eOHTh9+jT+8Ic/YNGiRZ79vvjii9iz\nZw927dqF9evX4+6778aTTz6Jjz76CO+++y6efPLJoWuPHz+OU6dOoampCZs2bcKXvvQlHDx4cESf\ne/bswV133YXHHnsMLS0tWLNmDWpra11tqTNnzmDZsmVYuXIljh49ikOHDuHyyy8HQJT+tm3bcMst\nt6C9vR21tbVYu3btUFun/bNt2zbceOONaG9vx6233jr0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VlZbjooosAADfccINvgcPRjD//+c9YsmQJ\n8vPzkZWVhc997nN44403op5WpCgsLMSxv58udPToURQwVOSLlPRNHn8KlmXhrrvuQnV1Nf75n/85\n6ulEhvvvvx/19fX44IMP8NRTT+HTn/40Nm/eHPW0IkNRURHKy8tx4O+HF7z88ss455xzIp5VNKiq\nqsKuXbvQ3d0Ny7Lw8ssvo1p15b00Q21tLTZt2gQA2LRpE5tY1JVexIrnnnvOmjdvnnX22Wdb999/\nf9TTiQw7d+60EomEtXDhQmvRokXWokWLrOeffz7qaUWKuro665prrol6GpHj7bffthYvXmydd955\n1nXXXWe1tbVFPaXIsH79+qGUzdtvv93q6+uLekqhYdWqVVZxcbGVnZ1tlZWVWT/5yU+sU6dOWZdf\nfjlXymbCsoxxamBgYDBWYNIjDAwMDMYQDOkbGBgYjCEY0jcwMDAYQzCkb2BgYDCGYEjfwMDAYAzB\nkL6BgYHBGML/B3suibfww4xPAAAAAElFTkSuQmCC\n" |
|
148 | 148 | } |
|
149 | 149 | ], |
|
150 | 150 | "prompt_number": 5 |
|
151 | 151 | }, |
|
152 | 152 | { |
|
153 | 153 | "cell_type": "markdown", |
|
154 | 154 | "metadata": {}, |
|
155 | 155 | "source": [ |
|
156 | 156 | "You can paste blocks of input with prompt markers, such as those from\n", |
|
157 | 157 | "[the official Python tutorial](http://docs.python.org/tutorial/interpreter.html#interactive-mode)" |
|
158 | 158 | ] |
|
159 | 159 | }, |
|
160 | 160 | { |
|
161 | 161 | "cell_type": "code", |
|
162 | 162 | "collapsed": false, |
|
163 | 163 | "input": [ |
|
164 | 164 | ">>> the_world_is_flat = 1\n", |
|
165 | 165 | ">>> if the_world_is_flat:\n", |
|
166 | 166 | "... print \"Be careful not to fall off!\"" |
|
167 | 167 | ], |
|
168 | 168 | "language": "python", |
|
169 | 169 | "metadata": {}, |
|
170 | 170 | "outputs": [ |
|
171 | 171 | { |
|
172 | 172 | "output_type": "stream", |
|
173 | 173 | "stream": "stdout", |
|
174 | 174 | "text": [ |
|
175 | 175 | "Be careful not to fall off!\n" |
|
176 | 176 | ] |
|
177 | 177 | } |
|
178 | 178 | ], |
|
179 | 179 | "prompt_number": 6 |
|
180 | 180 | }, |
|
181 | 181 | { |
|
182 | 182 | "cell_type": "markdown", |
|
183 | 183 | "metadata": {}, |
|
184 | 184 | "source": [ |
|
185 | 185 | "Errors are shown in informative ways:" |
|
186 | 186 | ] |
|
187 | 187 | }, |
|
188 | 188 | { |
|
189 | 189 | "cell_type": "code", |
|
190 | 190 | "collapsed": false, |
|
191 | 191 | "input": [ |
|
192 | 192 | "%run non_existent_file" |
|
193 | 193 | ], |
|
194 | 194 | "language": "python", |
|
195 | 195 | "metadata": {}, |
|
196 | 196 | "outputs": [ |
|
197 | 197 | { |
|
198 | 198 | "output_type": "stream", |
|
199 | 199 | "stream": "stderr", |
|
200 | 200 | "text": [ |
|
201 | 201 | "ERROR: File `u'non_existent_file.py'` not found." |
|
202 | 202 | ] |
|
203 | 203 | } |
|
204 | 204 | ], |
|
205 | 205 | "prompt_number": 7 |
|
206 | 206 | }, |
|
207 | 207 | { |
|
208 | 208 | "cell_type": "code", |
|
209 | 209 | "collapsed": false, |
|
210 | 210 | "input": [ |
|
211 | 211 | "x = 1\n", |
|
212 | 212 | "y = 4\n", |
|
213 | 213 | "z = y/(1-x)" |
|
214 | 214 | ], |
|
215 | 215 | "language": "python", |
|
216 | 216 | "metadata": {}, |
|
217 | 217 | "outputs": [ |
|
218 | 218 | { |
|
219 | 219 | "ename": "ZeroDivisionError", |
|
220 | 220 | "evalue": "integer division or modulo by zero", |
|
221 | 221 | "output_type": "pyerr", |
|
222 | 222 | "traceback": [ |
|
223 | 223 | "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m\n\u001b[1;31mZeroDivisionError\u001b[0m Traceback (most recent call last)", |
|
224 | 224 | "\u001b[1;32m<ipython-input-8-dc39888fd1d2>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[0mx\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;36m1\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2\u001b[0m \u001b[0my\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;36m4\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 3\u001b[1;33m \u001b[0mz\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0my\u001b[0m\u001b[1;33m/\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;36m1\u001b[0m\u001b[1;33m-\u001b[0m\u001b[0mx\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m", |
|
225 | 225 | "\u001b[1;31mZeroDivisionError\u001b[0m: integer division or modulo by zero" |
|
226 | 226 | ] |
|
227 | 227 | } |
|
228 | 228 | ], |
|
229 | 229 | "prompt_number": 8 |
|
230 | 230 | }, |
|
231 | 231 | { |
|
232 | 232 | "cell_type": "markdown", |
|
233 | 233 | "metadata": {}, |
|
234 | 234 | "source": [ |
|
235 | 235 | "When IPython needs to display additional information (such as providing details on an object via `x?`\n", |
|
236 | 236 | "it will automatically invoke a pager at the bottom of the screen:" |
|
237 | 237 | ] |
|
238 | 238 | }, |
|
239 | 239 | { |
|
240 | 240 | "cell_type": "code", |
|
241 | 241 | "collapsed": false, |
|
242 | 242 | "input": [ |
|
243 | 243 | "magic" |
|
244 | 244 | ], |
|
245 | 245 | "language": "python", |
|
246 | 246 | "metadata": {}, |
|
247 | 247 | "outputs": [], |
|
248 | 248 | "prompt_number": 18 |
|
249 | 249 | }, |
|
250 | 250 | { |
|
251 | 251 | "cell_type": "markdown", |
|
252 | 252 | "metadata": {}, |
|
253 | 253 | "source": [ |
|
254 | 254 | "## Non-blocking output of kernel\n", |
|
255 | 255 | "\n", |
|
256 | 256 | "If you execute the next cell, you will see the output arriving as it is generated, not all at the end." |
|
257 | 257 | ] |
|
258 | 258 | }, |
|
259 | 259 | { |
|
260 | 260 | "cell_type": "code", |
|
261 | 261 | "collapsed": false, |
|
262 | 262 | "input": [ |
|
263 | 263 | "import time, sys\n", |
|
264 | 264 | "for i in range(8):\n", |
|
265 | 265 | " print i,\n", |
|
266 | 266 | " time.sleep(0.5)" |
|
267 | 267 | ], |
|
268 | 268 | "language": "python", |
|
269 | 269 | "metadata": {}, |
|
270 | 270 | "outputs": [ |
|
271 | 271 | { |
|
272 | 272 | "output_type": "stream", |
|
273 | 273 | "stream": "stdout", |
|
274 | 274 | "text": [ |
|
275 | 275 | "0 " |
|
276 | 276 | ] |
|
277 | 277 | }, |
|
278 | 278 | { |
|
279 | 279 | "output_type": "stream", |
|
280 | 280 | "stream": "stdout", |
|
281 | 281 | "text": [ |
|
282 | 282 | "1 " |
|
283 | 283 | ] |
|
284 | 284 | }, |
|
285 | 285 | { |
|
286 | 286 | "output_type": "stream", |
|
287 | 287 | "stream": "stdout", |
|
288 | 288 | "text": [ |
|
289 | 289 | "2 " |
|
290 | 290 | ] |
|
291 | 291 | }, |
|
292 | 292 | { |
|
293 | 293 | "output_type": "stream", |
|
294 | 294 | "stream": "stdout", |
|
295 | 295 | "text": [ |
|
296 | 296 | "3 " |
|
297 | 297 | ] |
|
298 | 298 | }, |
|
299 | 299 | { |
|
300 | 300 | "output_type": "stream", |
|
301 | 301 | "stream": "stdout", |
|
302 | 302 | "text": [ |
|
303 | 303 | "4 " |
|
304 | 304 | ] |
|
305 | 305 | }, |
|
306 | 306 | { |
|
307 | 307 | "output_type": "stream", |
|
308 | 308 | "stream": "stdout", |
|
309 | 309 | "text": [ |
|
310 | 310 | "5 " |
|
311 | 311 | ] |
|
312 | 312 | }, |
|
313 | 313 | { |
|
314 | 314 | "output_type": "stream", |
|
315 | 315 | "stream": "stdout", |
|
316 | 316 | "text": [ |
|
317 | 317 | "6 " |
|
318 | 318 | ] |
|
319 | 319 | }, |
|
320 | 320 | { |
|
321 | 321 | "output_type": "stream", |
|
322 | 322 | "stream": "stdout", |
|
323 | 323 | "text": [ |
|
324 | 324 | "7\n" |
|
325 | 325 | ] |
|
326 | 326 | } |
|
327 | 327 | ], |
|
328 | 328 | "prompt_number": 19 |
|
329 | 329 | }, |
|
330 | 330 | { |
|
331 | 331 | "cell_type": "markdown", |
|
332 | 332 | "metadata": {}, |
|
333 | 333 | "source": [ |
|
334 | 334 | "## Clean crash and restart\n", |
|
335 | 335 | "\n", |
|
336 | 336 | "We call the low-level system libc.time routine with the wrong argument via\n", |
|
337 | 337 | "ctypes to segfault the Python interpreter:" |
|
338 | 338 | ] |
|
339 | 339 | }, |
|
340 | 340 | { |
|
341 | 341 | "cell_type": "code", |
|
342 | 342 | "collapsed": false, |
|
343 | 343 | "input": [ |
|
344 | 344 | "import sys\n", |
|
345 | 345 | "from ctypes import CDLL\n", |
|
346 | 346 | "# This will crash a Linux or Mac system; equivalent calls can be made on Windows\n", |
|
347 | 347 | "dll = 'dylib' if sys.platform == 'darwin' else '.so.6'\n", |
|
348 | 348 | "libc = CDLL(\"libc.%s\" % dll) \n", |
|
349 | 349 | "libc.time(-1) # BOOM!!" |
|
350 | 350 | ], |
|
351 | 351 | "language": "python", |
|
352 | 352 | "metadata": {}, |
|
353 | 353 | "outputs": [], |
|
354 | 354 | "prompt_number": "*" |
|
355 | 355 | }, |
|
356 | 356 | { |
|
357 | 357 | "cell_type": "markdown", |
|
358 | 358 | "metadata": {}, |
|
359 | 359 | "source": [ |
|
360 | 360 | "## Markdown cells can contain formatted text and code\n", |
|
361 | 361 | "\n", |
|
362 | 362 | "You can *italicize*, **boldface**\n", |
|
363 | 363 | "\n", |
|
364 | 364 | "* build\n", |
|
365 | 365 | "* lists\n", |
|
366 | 366 | "\n", |
|
367 | 367 | "and embed code meant for illustration instead of execution in Python:\n", |
|
368 | 368 | "\n", |
|
369 | 369 | " def f(x):\n", |
|
370 | 370 | " \"\"\"a docstring\"\"\"\n", |
|
371 | 371 | " return x**2\n", |
|
372 | 372 | "\n", |
|
373 | 373 | "or other languages:\n", |
|
374 | 374 | "\n", |
|
375 | 375 | " if (i=0; i<n; i++) {\n", |
|
376 | 376 | " printf(\"hello %d\\n\", i);\n", |
|
377 | 377 | " x += 4;\n", |
|
378 | 378 | " }" |
|
379 | 379 | ] |
|
380 | 380 | }, |
|
381 | 381 | { |
|
382 | 382 | "cell_type": "markdown", |
|
383 | 383 | "metadata": {}, |
|
384 | 384 | "source": [ |
|
385 | 385 | "Courtesy of MathJax, you can include mathematical expressions both inline: \n", |
|
386 | 386 | "$e^{i\\pi} + 1 = 0$ and displayed:\n", |
|
387 | 387 | "\n", |
|
388 | 388 | "$$e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i$$" |
|
389 | 389 | ] |
|
390 | 390 | }, |
|
391 | 391 | { |
|
392 | 392 | "cell_type": "markdown", |
|
393 | 393 | "metadata": {}, |
|
394 | 394 | "source": [ |
|
395 | 395 | "## Rich displays: include anyting a browser can show\n", |
|
396 | 396 | "\n", |
|
397 | 397 | "Note that we have an actual protocol for this, see the `display_protocol` notebook for further details.\n", |
|
398 | 398 | "\n", |
|
399 | 399 | "### Images" |
|
400 | 400 | ] |
|
401 | 401 | }, |
|
402 | 402 | { |
|
403 | 403 | "cell_type": "code", |
|
404 | 404 | "collapsed": false, |
|
405 | 405 | "input": [ |
|
406 | 406 | "from IPython.display import Image\n", |
|
407 | 407 | "Image(filename='../../source/_static/logo.png')" |
|
408 | 408 | ], |
|
409 | 409 | "language": "python", |
|
410 | 410 | "metadata": {}, |
|
411 | 411 | "outputs": [ |
|
412 | 412 | { |
|
413 | 413 | "output_type": "pyout", |
|
414 | 414 | "png": "iVBORw0KGgoAAAANSUhEUgAAAggAAABDCAYAAAD5/P3lAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAAH3AAAB9wBYvxo6AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURB\nVHic7Z15uBxF1bjfugkJhCWBsCSAJGACNg4QCI3RT1lEAVE+U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FnvOR7fo28lDYE7lu3kKO\nTdZ9K52xrhTl7knnUVB6SqVeTsr4apQU6lDEbG4hCsFbROsRBE1ebjrwnNB2/XGIGf5gRBkYhPyv\n7yDpjR9MtVkOnGK7/vWIgrFrVPcF4O8ZKbaXIuduWkH6KfL/JbkEsWClfWK2CDzHt10/jzhXjkGO\nyzNIZEiRD00ga3ocaLv+kUh2xo8hSuVURKmIUyiXVGYCWVzKQlJD7xrJNg85b9LX8RLgF6X6SpFU\n9Cpe28gaJgORqEEAbNffDLlvHIQoAndR8NEYilwjExD/nwuUiTQ0GAwGw7qC7fqjEUvKqsBzmhWd\nt05gu/5pyNoifw48J9N5PForxQeeNFMMBoPBYDD0DWL/llvK1In9jt4zCoLBYDAYDH2DePo5MwrJ\ndv0hFPwTnjBRDAaDwWAw9A3+hPgOHRPl25iK+FhsiuR4OARx0Lwf+J1REAwGg8Fg6AMEnvNklL78\nHMRRca/E5hVINNIVwI2B56z6/3ExLRI31pXNAAAAAElFTkSuQmCC\n", |
|
415 | 415 | "prompt_number": 1, |
|
416 | 416 | "text": [ |
|
417 | 417 | "<IPython.core.display.Image at 0x10faeafd0>" |
|
418 | 418 | ] |
|
419 | 419 | } |
|
420 | 420 | ], |
|
421 | 421 | "prompt_number": 1 |
|
422 | 422 | }, |
|
423 | 423 | { |
|
424 | 424 | "cell_type": "markdown", |
|
425 | 425 | "metadata": {}, |
|
426 | 426 | "source": [ |
|
427 | 427 | "An image can also be displayed from raw data or a url" |
|
428 | 428 | ] |
|
429 | 429 | }, |
|
430 | 430 | { |
|
431 | 431 | "cell_type": "code", |
|
432 | 432 | "collapsed": false, |
|
433 | 433 | "input": [ |
|
434 | "Image('http://python.org/images/python-logo.gif')" | |
|
434 | "Image(url='http://python.org/images/python-logo.gif')" | |
|
435 | 435 | ], |
|
436 | 436 | "language": "python", |
|
437 | 437 | "metadata": {}, |
|
438 | 438 | "outputs": [ |
|
439 | 439 | { |
|
440 | "html": [ | |
|
441 | "<img src=\"http://python.org/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QET+CClOZAVNbCxAI1+CwegRlbJAjTInrqrUKKxSRn+pYnCzgBEIRABE0OYQYFcyoVQiiRHpSB\nCk7g7nPHS97ymve86E2vetfLXoYQIKnwja9829ve98oXqMUT3n2TSt/yEsC+Sc2vgPN73/6yFsD4\nLV4CFszgBieAwPE1cF7/C18FM7gBGM5wAxpcvPlKuKsILkB+HUxiCMP3wxMO8YBXrF8PozjFFN6v\njJP63/++2L81zrGOd3zjHvv4x0AOspCHTOQiG/nISE6ykpfc44AAADs=\n", | |
|
442 | 444 | "prompt_number": 2, |
|
443 | 445 | "text": [ |
|
444 | 446 | "<IPython.core.display.Image at 0x1060e7410>" |
|
445 | 447 | ] |
|
446 | 448 | } |
|
447 | 449 | ], |
|
448 | 450 | "prompt_number": 2 |
|
449 | 451 | }, |
|
450 | 452 | { |
|
451 | 453 | "cell_type": "markdown", |
|
452 | 454 | "metadata": {}, |
|
453 | 455 | "source": [ |
|
454 | 456 | "SVG images are also supported out of the box (since modern browsers do a good job of rendering them):" |
|
455 | 457 | ] |
|
456 | 458 | }, |
|
457 | 459 | { |
|
458 | 460 | "cell_type": "code", |
|
459 | 461 | "collapsed": false, |
|
460 | 462 | "input": [ |
|
461 | 463 | "from IPython.display import SVG\n", |
|
462 | 464 | "SVG(filename='python-logo.svg')" |
|
463 | 465 | ], |
|
464 | 466 | "language": "python", |
|
465 | 467 | "metadata": {}, |
|
466 | 468 | "outputs": [ |
|
467 | 469 | { |
|
468 | 470 | "output_type": "pyout", |
|
469 | 471 | "prompt_number": 3, |
|
470 | 472 | "svg": [ |
|
471 | 473 | "<svg height=\"115.02pt\" id=\"svg2\" inkscape:version=\"0.43\" sodipodi:docbase=\"/home/sdeibel\" sodipodi:docname=\"logo-python-generic.svg\" sodipodi:version=\"0.32\" version=\"1.0\" width=\"388.84pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:cc=\"http://web.resource.org/cc/\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:sodipodi=\"http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd\" xmlns:svg=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n", |
|
472 | 474 | " <metadata id=\"metadata2193\">\n", |
|
473 | 475 | " <rdf:RDF>\n", |
|
474 | 476 | " <cc:Work rdf:about=\"\">\n", |
|
475 | 477 | " <dc:format>image/svg+xml</dc:format>\n", |
|
476 | 478 | " <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n", |
|
477 | 479 | " </cc:Work>\n", |
|
478 | 480 | " </rdf:RDF>\n", |
|
479 | 481 | " </metadata>\n", |
|
480 | 482 | " <sodipodi:namedview bordercolor=\"#666666\" borderopacity=\"1.0\" id=\"base\" inkscape:current-layer=\"svg2\" inkscape:cx=\"243.02499\" inkscape:cy=\"71.887497\" inkscape:pageopacity=\"0.0\" inkscape:pageshadow=\"2\" inkscape:window-height=\"543\" inkscape:window-width=\"791\" inkscape:window-x=\"0\" inkscape:window-y=\"0\" inkscape:zoom=\"1.4340089\" pagecolor=\"#ffffff\"/>\n", |
|
481 | 483 | " <defs id=\"defs4\">\n", |
|
482 | 484 | " <linearGradient id=\"linearGradient2795\">\n", |
|
483 | 485 | " <stop id=\"stop2797\" offset=\"0\" style=\"stop-color:#b8b8b8;stop-opacity:0.49803922\"/>\n", |
|
484 | 486 | " <stop id=\"stop2799\" offset=\"1\" style=\"stop-color:#7f7f7f;stop-opacity:0\"/>\n", |
|
485 | 487 | " </linearGradient>\n", |
|
486 | 488 | " <linearGradient id=\"linearGradient2787\">\n", |
|
487 | 489 | " <stop id=\"stop2789\" offset=\"0\" style=\"stop-color:#7f7f7f;stop-opacity:0.5\"/>\n", |
|
488 | 490 | " <stop id=\"stop2791\" offset=\"1\" style=\"stop-color:#7f7f7f;stop-opacity:0\"/>\n", |
|
489 | 491 | " </linearGradient>\n", |
|
490 | 492 | " <linearGradient id=\"linearGradient3676\">\n", |
|
491 | 493 | " <stop id=\"stop3678\" offset=\"0\" style=\"stop-color:#b2b2b2;stop-opacity:0.5\"/>\n", |
|
492 | 494 | " <stop id=\"stop3680\" offset=\"1\" style=\"stop-color:#b3b3b3;stop-opacity:0\"/>\n", |
|
493 | 495 | " </linearGradient>\n", |
|
494 | 496 | " <linearGradient id=\"linearGradient3236\">\n", |
|
495 | 497 | " <stop id=\"stop3244\" offset=\"0\" style=\"stop-color:#f4f4f4;stop-opacity:1\"/>\n", |
|
496 | 498 | " <stop id=\"stop3240\" offset=\"1\" style=\"stop-color:#ffffff;stop-opacity:1\"/>\n", |
|
497 | 499 | " </linearGradient>\n", |
|
498 | 500 | " <linearGradient id=\"linearGradient4671\">\n", |
|
499 | 501 | " <stop id=\"stop4673\" offset=\"0\" style=\"stop-color:#ffd43b;stop-opacity:1\"/>\n", |
|
500 | 502 | " <stop id=\"stop4675\" offset=\"1\" style=\"stop-color:#ffe873;stop-opacity:1\"/>\n", |
|
501 | 503 | " </linearGradient>\n", |
|
502 | 504 | " <linearGradient id=\"linearGradient4689\">\n", |
|
503 | 505 | " <stop id=\"stop4691\" offset=\"0\" style=\"stop-color:#5a9fd4;stop-opacity:1\"/>\n", |
|
504 | 506 | " <stop id=\"stop4693\" offset=\"1\" style=\"stop-color:#306998;stop-opacity:1\"/>\n", |
|
505 | 507 | " </linearGradient>\n", |
|
506 | 508 | " <linearGradient gradientTransform=\"translate(100.2702,99.61116)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient2987\" x1=\"224.23996\" x2=\"-65.308502\" xlink:href=\"#linearGradient4671\" y1=\"144.75717\" y2=\"144.75717\"/>\n", |
|
507 | 509 | " <linearGradient gradientTransform=\"translate(100.2702,99.61116)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient2990\" x1=\"172.94208\" x2=\"26.670298\" xlink:href=\"#linearGradient4689\" y1=\"77.475983\" y2=\"76.313133\"/>\n", |
|
508 | 510 | " <linearGradient gradientTransform=\"translate(100.2702,99.61116)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient2587\" x1=\"172.94208\" x2=\"26.670298\" xlink:href=\"#linearGradient4689\" y1=\"77.475983\" y2=\"76.313133\"/>\n", |
|
509 | 511 | " <linearGradient gradientTransform=\"translate(100.2702,99.61116)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient2589\" x1=\"224.23996\" x2=\"-65.308502\" xlink:href=\"#linearGradient4671\" y1=\"144.75717\" y2=\"144.75717\"/>\n", |
|
510 | 512 | " <linearGradient gradientTransform=\"translate(100.2702,99.61116)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient2248\" x1=\"172.94208\" x2=\"26.670298\" xlink:href=\"#linearGradient4689\" y1=\"77.475983\" y2=\"76.313133\"/>\n", |
|
511 | 513 | " <linearGradient gradientTransform=\"translate(100.2702,99.61116)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient2250\" x1=\"224.23996\" x2=\"-65.308502\" xlink:href=\"#linearGradient4671\" y1=\"144.75717\" y2=\"144.75717\"/>\n", |
|
512 | 514 | " <linearGradient gradientTransform=\"matrix(0.562541,0,0,0.567972,-11.5974,-7.60954)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient2255\" x1=\"224.23996\" x2=\"-65.308502\" xlink:href=\"#linearGradient4671\" y1=\"144.75717\" y2=\"144.75717\"/>\n", |
|
513 | 515 | " <linearGradient gradientTransform=\"matrix(0.562541,0,0,0.567972,-11.5974,-7.60954)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient2258\" x1=\"172.94208\" x2=\"26.670298\" xlink:href=\"#linearGradient4689\" y1=\"76.176224\" y2=\"76.313133\"/>\n", |
|
514 | 516 | " <radialGradient cx=\"61.518883\" cy=\"132.28575\" fx=\"61.518883\" fy=\"132.28575\" gradientTransform=\"matrix(1,0,0,0.177966,0,108.7434)\" gradientUnits=\"userSpaceOnUse\" id=\"radialGradient2801\" r=\"29.036913\" xlink:href=\"#linearGradient2795\"/>\n", |
|
515 | 517 | " <linearGradient gradientTransform=\"matrix(0.562541,0,0,0.567972,-9.399749,-5.305317)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient1475\" x1=\"150.96111\" x2=\"112.03144\" xlink:href=\"#linearGradient4671\" y1=\"192.35176\" y2=\"137.27299\"/>\n", |
|
516 | 518 | " <linearGradient gradientTransform=\"matrix(0.562541,0,0,0.567972,-9.399749,-5.305317)\" gradientUnits=\"userSpaceOnUse\" id=\"linearGradient1478\" x1=\"26.648937\" x2=\"135.66525\" xlink:href=\"#linearGradient4689\" y1=\"20.603781\" y2=\"114.39767\"/>\n", |
|
517 | 519 | " <radialGradient cx=\"61.518883\" cy=\"132.28575\" fx=\"61.518883\" fy=\"132.28575\" gradientTransform=\"matrix(2.382716e-8,-0.296405,1.43676,4.683673e-7,-128.544,150.5202)\" gradientUnits=\"userSpaceOnUse\" id=\"radialGradient1480\" r=\"29.036913\" xlink:href=\"#linearGradient2795\"/>\n", |
|
518 | 520 | " </defs>\n", |
|
519 | 521 | " <g id=\"g2303\">\n", |
|
520 | 522 | " <path d=\"M 184.61344,61.929363 C 184.61344,47.367213 180.46118,39.891193 172.15666,39.481813 C 168.85239,39.325863 165.62611,39.852203 162.48754,41.070593 C 159.98254,41.967323 158.2963,42.854313 157.40931,43.751043 L 157.40931,78.509163 C 162.72147,81.842673 167.43907,83.392453 171.55234,83.148783 C 180.25649,82.573703 184.61344,75.507063 184.61344,61.929363 z M 194.85763,62.533683 C 194.85763,69.931723 193.12265,76.072393 189.63319,80.955683 C 185.7441,86.482283 180.35396,89.328433 173.46277,89.484393 C 168.26757,89.650093 162.91642,88.022323 157.40931,84.610843 L 157.40931,116.20116 L 148.50047,113.02361 L 148.50047,42.903043 C 149.96253,41.109583 151.84372,39.569543 154.12454,38.263433 C 159.42696,35.173603 165.86978,33.584823 173.45302,33.506853 L 173.57973,33.633563 C 180.50991,33.545833 185.85132,36.391993 189.60395,42.162263 C 193.10315,47.454933 194.85763,54.238913 194.85763,62.533683 z \" id=\"path46\" style=\"fill:#646464;fill-opacity:1\"/>\n", |
|
521 | 523 | " <path d=\"M 249.30487,83.265743 C 249.30487,93.188283 248.31067,100.05998 246.32227,103.88084 C 244.32411,107.7017 240.52275,110.75254 234.90842,113.02361 C 230.35653,114.81707 225.43425,115.79178 220.15133,115.95748 L 218.67952,110.34316 C 224.05016,109.61213 227.83204,108.88109 230.02513,108.15006 C 234.34309,106.688 237.30621,104.44617 238.93397,101.44406 C 240.24008,98.997543 240.88339,94.328693 240.88339,87.418003 L 240.88339,85.098203 C 234.79146,87.866373 228.40711,89.240713 221.73036,89.240713 C 217.34417,89.240713 213.47457,87.866373 210.14107,85.098203 C 206.39818,82.086343 204.52674,78.265483 204.52674,73.635623 L 204.52674,36.557693 L 213.43558,33.506853 L 213.43558,70.828453 C 213.43558,74.815013 214.7222,77.885353 217.29543,80.039463 C 219.86866,82.193563 223.20217,83.226753 227.2862,83.148783 C 231.37023,83.061053 235.74667,81.482023 240.39603,78.392203 L 240.39603,34.851953 L 249.30487,34.851953 L 249.30487,83.265743 z \" id=\"path48\" style=\"fill:#646464;fill-opacity:1\"/>\n", |
|
522 | 524 | " <path d=\"M 284.08249,88.997033 C 283.02006,89.084753 282.04535,89.123743 281.14862,89.123743 C 276.10937,89.123743 272.18129,87.924853 269.37413,85.517323 C 266.57671,83.109793 265.17314,79.786033 265.17314,75.546053 L 265.17314,40.456523 L 259.07146,40.456523 L 259.07146,34.851953 L 265.17314,34.851953 L 265.17314,19.968143 L 274.07223,16.800333 L 274.07223,34.851953 L 284.08249,34.851953 L 284.08249,40.456523 L 274.07223,40.456523 L 274.07223,75.302373 C 274.07223,78.645623 274.96896,81.014163 276.76243,82.398253 C 278.30247,83.538663 280.74899,84.191723 284.08249,84.357423 L 284.08249,88.997033 z \" id=\"path50\" style=\"fill:#646464;fill-opacity:1\"/>\n", |
|
523 | 525 | " <path d=\"M 338.02288,88.266003 L 329.11404,88.266003 L 329.11404,53.878273 C 329.11404,50.379063 328.29528,47.367213 326.66753,44.852463 C 324.78634,42.006313 322.17411,40.583233 318.82112,40.583233 C 314.73708,40.583233 309.6296,42.737343 303.4987,47.045563 L 303.4987,88.266003 L 294.58985,88.266003 L 294.58985,6.0687929 L 303.4987,3.2616329 L 303.4987,40.700203 C 309.191,36.557693 315.40963,34.481563 322.16436,34.481563 C 326.88196,34.481563 330.70282,36.070333 333.62694,39.238143 C 336.56082,42.405943 338.02288,46.353513 338.02288,51.071103 L 338.02288,88.266003 L 338.02288,88.266003 z \" id=\"path52\" style=\"fill:#646464;fill-opacity:1\"/>\n", |
|
524 | 526 | " <path d=\"M 385.37424,60.525783 C 385.37424,54.930953 384.31182,50.310833 382.19669,46.655673 C 379.68195,42.201253 375.77337,39.852203 370.49044,39.608523 C 360.72386,40.173863 355.85032,47.172273 355.85032,60.584263 C 355.85032,66.734683 356.86401,71.871393 358.91089,75.994413 C 361.52312,81.248093 365.44145,83.840823 370.66589,83.753103 C 380.47146,83.675123 385.37424,75.935933 385.37424,60.525783 z M 395.13109,60.584263 C 395.13109,68.547643 393.09395,75.175663 389.02941,80.468333 C 384.5555,86.394563 378.37584,89.367423 370.49044,89.367423 C 362.67328,89.367423 356.58135,86.394563 352.18541,80.468333 C 348.19885,75.175663 346.21044,68.547643 346.21044,60.584263 C 346.21044,53.098503 348.36455,46.801883 352.67276,41.674913 C 357.22466,36.236033 363.20937,33.506853 370.6074,33.506853 C 378.00545,33.506853 384.02914,36.236033 388.66877,41.674913 C 392.97697,46.801883 395.13109,53.098503 395.13109,60.584263 z \" id=\"path54\" style=\"fill:#646464;fill-opacity:1\"/>\n", |
|
525 | 527 | " <path d=\"M 446.20583,88.266003 L 437.29699,88.266003 L 437.29699,51.928853 C 437.29699,47.942293 436.0981,44.832973 433.70032,42.591133 C 431.30253,40.359053 428.10549,39.277123 424.11893,39.364853 C 419.8887,39.442833 415.86314,40.826913 412.04229,43.507363 L 412.04229,88.266003 L 403.13345,88.266003 L 403.13345,42.405943 C 408.26042,38.672813 412.97801,36.236033 417.28621,35.095623 C 421.35076,34.033193 424.93769,33.506853 428.02752,33.506853 C 430.14264,33.506853 432.13104,33.711543 434.00248,34.120913 C 437.50169,34.929923 440.34783,36.430973 442.54093,38.633823 C 444.98744,41.070593 446.20583,43.994723 446.20583,47.415943 L 446.20583,88.266003 z \" id=\"path56\" style=\"fill:#646464;fill-opacity:1\"/>\n", |
|
526 | 528 | " <path d=\"M 60.510156,6.3979729 C 55.926503,6.4192712 51.549217,6.8101906 47.697656,7.4917229 C 36.35144,9.4962267 34.291407,13.691825 34.291406,21.429223 L 34.291406,31.647973 L 61.103906,31.647973 L 61.103906,35.054223 L 34.291406,35.054223 L 24.228906,35.054223 C 16.436447,35.054223 9.6131468,39.73794 7.4789058,48.647973 C 5.0170858,58.860939 4.9078907,65.233996 7.4789058,75.897973 C 9.3848341,83.835825 13.936449,89.491721 21.728906,89.491723 L 30.947656,89.491723 L 30.947656,77.241723 C 30.947656,68.391821 38.6048,60.585475 47.697656,60.585473 L 74.478906,60.585473 C 81.933857,60.585473 87.885159,54.447309 87.885156,46.960473 L 87.885156,21.429223 C 87.885156,14.162884 81.755176,8.7044455 74.478906,7.4917229 C 69.872919,6.7249976 65.093809,6.3766746 60.510156,6.3979729 z M 46.010156,14.616723 C 48.779703,14.616723 51.041406,16.915369 51.041406,19.741723 C 51.041404,22.558059 48.779703,24.835473 46.010156,24.835473 C 43.23068,24.835472 40.978906,22.558058 40.978906,19.741723 C 40.978905,16.91537 43.23068,14.616723 46.010156,14.616723 z \" id=\"path1948\" style=\"fill:url(#linearGradient1478);fill-opacity:1\"/>\n", |
|
527 | 529 | " <path d=\"M 91.228906,35.054223 L 91.228906,46.960473 C 91.228906,56.191228 83.403011,63.960472 74.478906,63.960473 L 47.697656,63.960473 C 40.361823,63.960473 34.291407,70.238956 34.291406,77.585473 L 34.291406,103.11672 C 34.291406,110.38306 40.609994,114.65704 47.697656,116.74172 C 56.184987,119.23733 64.323893,119.68835 74.478906,116.74172 C 81.229061,114.78733 87.885159,110.85411 87.885156,103.11672 L 87.885156,92.897973 L 61.103906,92.897973 L 61.103906,89.491723 L 87.885156,89.491723 L 101.29141,89.491723 C 109.08387,89.491723 111.98766,84.056315 114.69765,75.897973 C 117.49698,67.499087 117.37787,59.422197 114.69765,48.647973 C 112.77187,40.890532 109.09378,35.054223 101.29141,35.054223 L 91.228906,35.054223 z M 76.166406,99.710473 C 78.945884,99.710476 81.197656,101.98789 81.197656,104.80422 C 81.197654,107.63057 78.945881,109.92922 76.166406,109.92922 C 73.396856,109.92922 71.135156,107.63057 71.135156,104.80422 C 71.135158,101.98789 73.396853,99.710473 76.166406,99.710473 z \" id=\"path1950\" style=\"fill:url(#linearGradient1475);fill-opacity:1\"/>\n", |
|
528 | 530 | " <path d=\"M 463.5544,26.909383 L 465.11635,26.909383 L 465.11635,17.113143 L 468.81648,17.113143 L 468.81648,15.945483 L 459.85427,15.945483 L 459.85427,17.113143 L 463.5544,17.113143 L 463.5544,26.909383 M 470.20142,26.909383 L 471.53589,26.909383 L 471.53589,17.962353 L 474.4323,26.908259 L 475.91799,26.908259 L 478.93615,17.992683 L 478.93615,26.909383 L 480.39194,26.909383 L 480.39194,15.945483 L 478.46605,15.945483 L 475.16774,25.33834 L 472.35477,15.945483 L 470.20142,15.945483 L 470.20142,26.909383\" id=\"text3004\" style=\"font-size:15.16445827px;font-style:normal;font-weight:normal;line-height:125%;fill:#646464;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans\"/>\n", |
|
529 | 531 | " <path d=\"M 110.46717 132.28575 A 48.948284 8.6066771 0 1 1 12.570599,132.28575 A 48.948284 8.6066771 0 1 1 110.46717 132.28575 z\" id=\"path1894\" style=\"opacity:0.44382019;fill:url(#radialGradient1480);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:20;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1\" transform=\"matrix(0.73406,0,0,0.809524,16.24958,27.00935)\"/>\n", |
|
530 | 532 | " </g>\n", |
|
531 | 533 | "</svg>" |
|
532 | 534 | ], |
|
533 | 535 | "text": [ |
|
534 | 536 | "<IPython.core.display.SVG at 0x10fb998d0>" |
|
535 | 537 | ] |
|
536 | 538 | } |
|
537 | 539 | ], |
|
538 | 540 | "prompt_number": 3 |
|
539 | 541 | }, |
|
540 | 542 | { |
|
541 | 543 | "cell_type": "markdown", |
|
542 | 544 | "metadata": {}, |
|
543 | 545 | "source": [ |
|
544 | 546 | "#### Embedded vs Non-embedded Images" |
|
545 | 547 | ] |
|
546 | 548 | }, |
|
547 | 549 | { |
|
548 | 550 | "cell_type": "markdown", |
|
549 | 551 | "metadata": {}, |
|
550 | 552 | "source": [ |
|
551 | 553 | "As of IPython 0.13, images are embedded by default for compatibility with QtConsole, and the ability to still be displayed offline.\n", |
|
552 | 554 | "\n", |
|
553 | 555 | "Let's look at the differences:" |
|
554 | 556 | ] |
|
555 | 557 | }, |
|
556 | 558 | { |
|
557 | 559 | "cell_type": "code", |
|
558 | 560 | "collapsed": false, |
|
559 | 561 | "input": [ |
|
560 | 562 | "# by default Image data are embedded\n", |
|
561 | 563 | "Embed = Image( 'http://www.google.fr/images/srpr/logo3w.png')\n", |
|
562 | 564 | "\n", |
|
563 | 565 | "# if kwarg `url` is given, the embedding is assumed to be false\n", |
|
564 | 566 | "SoftLinked = Image(url='http://www.google.fr/images/srpr/logo3w.png')\n", |
|
565 | 567 | "\n", |
|
566 | 568 | "# In each case, embed can be specified explicitly with the `embed` kwarg\n", |
|
567 | 569 | "# ForceEmbed = Image(url='http://www.google.fr/images/srpr/logo3w.png', embed=True)" |
|
568 | 570 | ], |
|
569 | 571 | "language": "python", |
|
570 | 572 | "metadata": {}, |
|
571 | 573 | "outputs": [], |
|
572 | 574 | "prompt_number": 4 |
|
573 | 575 | }, |
|
574 | 576 | { |
|
575 | 577 | "cell_type": "markdown", |
|
576 | 578 | "metadata": {}, |
|
577 | 579 | "source": [ |
|
578 | 580 | "Today's Google doodle, (at the time I created this notebook). This should also work in the Qtconsole.\n", |
|
579 | 581 | "Drawback is that the saved notebook will be larger, but the image will still be present offline." |
|
580 | 582 | ] |
|
581 | 583 | }, |
|
582 | 584 | { |
|
583 | 585 | "cell_type": "code", |
|
584 | 586 | "collapsed": false, |
|
585 | 587 | "input": [ |
|
586 | 588 | "Embed" |
|
587 | 589 | ], |
|
588 | 590 | "language": "python", |
|
589 | 591 | "metadata": {}, |
|
590 | 592 | "outputs": [ |
|
591 | 593 | { |
|
592 | 594 | "output_type": "pyout", |
|
593 | 595 | "png": "iVBORw0KGgoAAAANSUhEUgAAARMAAABfCAMAAAD8mtMpAAAC/VBMVEUBIrIZH6qfBSGwAyWSDiTE\nAym9DifSCyysGCiQISvJES3eDDLMFinYGDDdFyzkGjbmGzGhMTePNjwsSa3JKDQYTukOZh3iKDKK\nQUPvKzHwKjnoLUDFODyxQUTAQEPuNT3kOEDeO0anS0xJYKH2OTf0Oz6fVVY5aN3zRErSXAD3Skfl\nUE2cZmTgU1tGg1DAYV32U1HXXVyVcG60aGO1cSLOcAKfeEncbgD4YVaugED5Z1+1enfNfxGqf3x5\nibPjfACgh168hTKXi3nJfHuih4WdjXP5dGnJih7mhQDvenOKla2ck5Bcqm7wjwDnkQhxne++llbf\niYa6m1/JmkHyioDwmQDZnSe+nZnnoA7Wmpb6nwDyoQy+p3jTqUa5qpD5pgDoqB+5q6v4npH/rgCp\ns834rxD/tADiuDvWs7D+uQ3/wCLiwXTPwqSZ1az+xjWw0rvjyYrg0K722YvH6tL35bX98tT99uEA\nQOKlpqNIh/03dPsAVP1UivYqSvC7vLnn6ebr7ert8Pjw8+8iYvojXvr19/P5+/j3+/4aReoAR/Gw\nsq50f5sMrBcAsBgvbvwGtCGkvvYSTfgANtvGx8QCLMLP0M0AS+3W2NV9qPnQ3Pnd39zY4PY0Wcf5\n29fj5OErZu4yZ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XKDsvJW8fAguYd6SpZdSqDS3Cz39TVl9/bgCfc6\ns0mDPYKxXzJtvd7nTEqkumWd/Xu3uO+EJm+mOkljtzndVbtvmZSQQvWy9kabfSfcYak6d7Ob3/fa\nkweNCe70qi8untZ5ndq/LSpKbbze2V7efSNRpRUN4xvD7rW/G0Iq0quPLC7fcfNme/vNph2Ll11k\n3Y18YJggFrFIT++ianV6/b9gu+le/TtESHKwfdS7t/8Dw4+o6YNxgfwAAAAASUVORK5CYII=\n", |
|
594 | 596 | "prompt_number": 5, |
|
595 | 597 | "text": [ |
|
596 | 598 | "<IPython.core.display.Image at 0x10fb99b50>" |
|
597 | 599 | ] |
|
598 | 600 | } |
|
599 | 601 | ], |
|
600 | 602 | "prompt_number": 5 |
|
601 | 603 | }, |
|
602 | 604 | { |
|
603 | 605 | "cell_type": "markdown", |
|
604 | 606 | "metadata": {}, |
|
605 | 607 | "source": [ |
|
606 | 608 | "Today's Google doodle, visible only with an active internet connexion, that should be different from the previous one. This will not work on Qtconsole.\n", |
|
607 | 609 | "Notebook saved with this kind of image will be lighter and always reflect the current version of the source, but the image won't display offline." |
|
608 | 610 | ] |
|
609 | 611 | }, |
|
610 | 612 | { |
|
611 | 613 | "cell_type": "code", |
|
612 | 614 | "collapsed": false, |
|
613 | 615 | "input": [ |
|
614 | 616 | "SoftLinked" |
|
615 | 617 | ], |
|
616 | 618 | "language": "python", |
|
617 | 619 | "metadata": {}, |
|
618 | 620 | "outputs": [ |
|
619 | 621 | { |
|
620 | 622 | "html": [ |
|
621 | 623 | "<img src=\"http://www.google.fr/images/srpr/logo3w.png\" />" |
|
622 | 624 | ], |
|
623 | 625 | "output_type": "pyout", |
|
624 | 626 | "prompt_number": 6, |
|
625 | 627 | "text": [ |
|
626 | 628 | "<IPython.core.display.Image at 0x10fb99b10>" |
|
627 | 629 | ] |
|
628 | 630 | } |
|
629 | 631 | ], |
|
630 | 632 | "prompt_number": 6 |
|
631 | 633 | }, |
|
632 | 634 | { |
|
633 | 635 | "cell_type": "markdown", |
|
634 | 636 | "metadata": {}, |
|
635 | 637 | "source": [ |
|
636 | 638 | "Of course, if you re-run this notebook, the two doodles will be the same again.\n", |
|
637 | 639 | "<!-- well actually I cheated a little, by setting Embed Url to http://www.google.com/logos/2012/doisneau12-hp.jpg then editing the ipynb myself and replacing it by the other url -->" |
|
638 | 640 | ] |
|
639 | 641 | }, |
|
640 | 642 | { |
|
641 | 643 | "cell_type": "markdown", |
|
642 | 644 | "metadata": {}, |
|
643 | 645 | "source": [ |
|
644 | 646 | "### Video" |
|
645 | 647 | ] |
|
646 | 648 | }, |
|
647 | 649 | { |
|
648 | 650 | "cell_type": "markdown", |
|
649 | 651 | "metadata": {}, |
|
650 | 652 | "source": [ |
|
651 | 653 | "And more exotic objects can also be displayed, as long as their representation supports \n", |
|
652 | 654 | "the IPython display protocol.\n", |
|
653 | 655 | "\n", |
|
654 | 656 | "For example, videos hosted externally on YouTube are easy to load (and writing a similar wrapper for other\n", |
|
655 | 657 | "hosted content is trivial):" |
|
656 | 658 | ] |
|
657 | 659 | }, |
|
658 | 660 | { |
|
659 | 661 | "cell_type": "code", |
|
660 | 662 | "collapsed": false, |
|
661 | 663 | "input": [ |
|
662 | 664 | "from IPython.display import YouTubeVideo\n", |
|
663 | 665 | "# a talk about IPython at Sage Days at U. Washington, Seattle.\n", |
|
664 | 666 | "# Video credit: William Stein.\n", |
|
665 | 667 | "YouTubeVideo('1j_HxD4iLn8')" |
|
666 | 668 | ], |
|
667 | 669 | "language": "python", |
|
668 | 670 | "metadata": {}, |
|
669 | 671 | "outputs": [ |
|
670 | 672 | { |
|
671 | 673 | "html": [ |
|
672 | 674 | "\n", |
|
673 | 675 | " <iframe\n", |
|
674 | 676 | " width=\"400\"\n", |
|
675 | 677 | " height=\"300\"\n", |
|
676 | 678 | " src=\"http://www.youtube.com/embed/1j_HxD4iLn8\"\n", |
|
677 | 679 | " frameborder=\"0\"\n", |
|
678 | 680 | " allowfullscreen\n", |
|
679 | 681 | " ></iframe>\n", |
|
680 | 682 | " " |
|
681 | 683 | ], |
|
682 | 684 | "output_type": "pyout", |
|
683 | 685 | "prompt_number": 7, |
|
684 | 686 | "text": [ |
|
685 | 687 | "<IPython.lib.display.YouTubeVideo at 0x10fba2190>" |
|
686 | 688 | ] |
|
687 | 689 | } |
|
688 | 690 | ], |
|
689 | 691 | "prompt_number": 7 |
|
690 | 692 | }, |
|
691 | 693 | { |
|
692 | 694 | "cell_type": "markdown", |
|
693 | 695 | "metadata": {}, |
|
694 | 696 | "source": [ |
|
695 | 697 | "Using the nascent video capabilities of modern browsers, you may also be able to display local\n", |
|
696 | 698 | "videos. At the moment this doesn't work very well in all browsers, so it may or may not work for you;\n", |
|
697 | 699 | "we will continue testing this and looking for ways to make it more robust. \n", |
|
698 | 700 | "\n", |
|
699 | 701 | "The following cell loads a local file called `animation.m4v`, encodes the raw video as base64 for http\n", |
|
700 | 702 | "transport, and uses the HTML5 video tag to load it. On Chrome 15 it works correctly, displaying a control\n", |
|
701 | 703 | "bar at the bottom with a play/pause button and a location slider." |
|
702 | 704 | ] |
|
703 | 705 | }, |
|
704 | 706 | { |
|
705 | 707 | "cell_type": "code", |
|
706 | 708 | "collapsed": false, |
|
707 | 709 | "input": [ |
|
708 | 710 | "from IPython.display import HTML\n", |
|
709 | 711 | "video = open(\"animation.m4v\", \"rb\").read()\n", |
|
710 | 712 | "video_encoded = video.encode(\"base64\")\n", |
|
711 | 713 | "video_tag = '<video controls alt=\"test\" src=\"data:video/x-m4v;base64,{0}\">'.format(video_encoded)\n", |
|
712 | 714 | "HTML(data=video_tag)" |
|
713 | 715 | ], |
|
714 | 716 | "language": "python", |
|
715 | 717 | "metadata": {}, |
|
716 | 718 | "outputs": [ |
|
717 | 719 | { |
|
718 | 720 | "html": [ |
|
719 | 721 | "<video controls alt=\"test\" src=\"data:video/x-m4v;base64,AAAAHGZ0eXBNNFYgAAACAGlzb21pc28yYXZjMQAAAAhmcmVlAAAqiW1kYXQAAAKMBgX//4jcRem9\n", |
|
720 | 722 | "5tlIt5Ys2CDZI+7veDI2NCAtIGNvcmUgMTE4IC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENv\n", |
|
721 | 723 | "cHlsZWZ0IDIwMDMtMjAxMSAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9w\n", |
|
722 | 724 | "dGlvbnM6IGNhYmFjPTEgcmVmPTMgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MzoweDExMyBtZT1o\n", |
|
723 | 725 | "ZXggc3VibWU9NyBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0xIG1lX3JhbmdlPTE2\n", |
|
724 | 726 | "IGNocm9tYV9tZT0xIHRyZWxsaXM9MSA4eDhkY3Q9MSBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0\n", |
|
725 | 727 | "X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0tMiB0aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBu\n", |
|
726 | 728 | "cj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9MCBjb25zdHJhaW5lZF9p\n", |
|
727 | 729 | "bnRyYT0wIGJmcmFtZXM9MyBiX3B5cmFtaWQ9MiBiX2FkYXB0PTEgYl9iaWFzPTAgZGlyZWN0PTEg\n", |
|
728 | 730 | "d2VpZ2h0Yj0xIG9wZW5fZ29wPTAgd2VpZ2h0cD0yIGtleWludD0yNTAga2V5aW50X21pbj0yNSBz\n", |
|
729 | 731 | "Y2VuZWN1dD00MCBpbnRyYV9yZWZyZXNoPTAgcmNfbG9va2FoZWFkPTQwIHJjPWNyZiBtYnRyZWU9\n", |
|
730 | 732 | "MSBjcmY9MjMuMCBxY29tcD0wLjYwIHFwbWluPTAgcXBtYXg9NjkgcXBzdGVwPTQgaXBfcmF0aW89\n", |
|
731 | 733 | "MS40MCBhcT0xOjEuMDAAgAAACqVliIQAV/0TAAI/3gU2tIW7KawwaCmQGTGHKmuYAAADACBcshU+\n", |
|
732 | 734 | "yICkgAA14AHowiEeT6ei7v7h3Hu0i2fpUBLGBIkbCMP3Vfz+9BVGCDXnw9Uv5o3iN030tb7eq6rs\n", |
|
733 | 735 | "EEhHs2azbdTiE9Csz5Zm6SiUWRdmB43hbD5i6syATuODUJd7LM3d9cbFpc7zFlu5y3vUmNGd6urp\n", |
|
734 | 736 | "vKKT9iyleIyTuR1sVS431DhevGfkUllVeIznYUe2USoMW1tufETjyRdmGldN6eNlhAOsGAH4z+Hk\n", |
|
735 | 737 | "rwKecPPU7Q5T4gDAIxj9hW84jVExMTSTHxkPTq1I4OotgUxURCGTsw60k/ezPNmNg38j1bqaGmPc\n", |
|
736 | 738 | "ruDKEIBDsK5qEytFB90Q68s0h2wmlf2KXd5bleBefiK+/p47ZsyUO4IdlW25rRy+HLjt6wQXfYee\n", |
|
737 | 739 | "3IkiQOoOK+U7u/lxcl78zfxwIoEMjUUSKNZjkp8clnmecDDJ3Kz+viF7bPklk7N6QRyizAKPIIpn\n", |
|
738 | 740 | "NJUuMWQmqeL2Or6cr4D0/0tOym+4tficxmhuEONKUtO2pPn3hRjMllkd12tXp70fLTfxy0dwB70M\n", |
|
739 | 741 | "L9iLEcItHb7zVupHlP5RxdvecpREw+OsIPr9KWilIesNE19jgIbT+TkiRBjOoKvUuwcQnKg7fOTH\n", |
|
740 | 742 | "VoLvnKuAfea+oujEdm1Rwd2tEOnkF+ZC11WaNQsiNR/eJ9EnUXjXDYGfhB+Oe7qj8nYTT+eOXg1c\n", |
|
741 | 743 | "uJNgLXEs4vOheWEjQOqfIWMQc3DmTof5s0ksBmUQ3PQ+UHPxZSnmOEZB+j6xT3wbm7HGzDjWtSg1\n", |
|
742 | 744 | "SjTxd1EiJ8xA4SIxxR8WIKLg+TwFxJNS7Laxq7Uglu3AkXe82P1JCdJX5PsbFbxuDbuJgakzRcTw\n", |
|
743 | 745 | "MLLSKCiizS/eCW0uJed/lev9yb80kKlVET4S219cn/zhkpeDV83cHYOr+sJQKDRk/Wh2c7fsuxfx\n", |
|
744 | 746 | "aEH/6reSmvFDsAnXAyPXliJ3G4VG3OkEM5K5WyGGrBizZbTrdGsBnzj5VSGGOJdCKuRrUluw/8es\n", |
|
745 | 747 | "2vYRPs9BcTqAqvHk9M52SSIf+1T6L53EZP8VbtXB+G29CMW4xVCK/B/YDjaNmqMwJ61dapugjnWJ\n", |
|
746 | 748 | "fqeXlGGa3Ch3aA7gi30T8PucNRBjLK3lF67ZDDvkWXRQXd+VMnKWHkBbCkQ/F/fMuNpHO3C00Y2p\n", |
|
747 | 749 | "ljna1qImBhVMvPe0F7Qx7G/YyxLRzhyUU8e23HGzp0agtNJRbydbrPV+TqJMSifJMNcZIf8wkdnC\n", |
|
748 | 750 | "3/xdpcXnLf2Ye3Kbd0o7utciTG+q5h6WTEk+PaNbXLLA0YyZ2VnLTcyV1QTS76aNCbV9Q1/OQ7QU\n", |
|
749 | 751 | "81Gg0hPa9aSiscGary6jLVwDQaik4zLsi7jPqgPVdup7pwx7uJDqRCVcVi5QoZFp/GHdex5sJTF6\n", |
|
750 | 752 | "9A6sja69/NLkFIWNSIeRcuGahXpF+wZeYIrqJv975s1TKYKAvp1WtzgtgWNkcbzCtROqf8rPtlAI\n", |
|
751 | 753 | "xkX8GLcEo9zfExyfimeXQ64qfFxEy0IMy2Hsxau9fSMqUnIjntuVVjCQtBL+94gx1RZLndE6wROV\n", |
|
752 | 754 | "Tq/wHwHrQzo9QL9cpPqPFJjiZ/NGZIFuudS+wsBFe6Hu8Oitf5zToLqLdtU4Smwh4ne3JsiT9lOz\n", |
|
753 | 755 | "N+4PPw3VSx9l5FppVwdKUWELw1dYpCOppyVWlJ3YQ8H4FQQM8EcYMG9N3Bxu79y1J1ikuvuhMmLQ\n", |
|
754 | 756 | "lehLTbguhbix74hd1VIQC8EjHmOZSSWbssulYwPbr6FF49tifk6PymJvulR9/u+2585HkRfbxveG\n", |
|
755 | 757 | "eWCz0ix1pIVfaNpESKmtLy/0mcbMg9hYDz2werz9oe0lT2BiMV6uAin6RaQcT8Vk9MPctfwae+gk\n", |
|
756 | 758 | "vtnZA/sOBk8MbpylaHqc0KIVHhhLFMNnkOFiucjtGo/JWTa/F6g8wWeow5ZuIJUORaYHWqegZbTg\n", |
|
757 | 759 | "M9dCsYYsfZGjjVMuSlDIvpYvIvFFooGPC7Ye2Jfawmq4Ut7EL/nv/dyAd2HRc5msmUhzeu/XpX3r\n", |
|
758 | 760 | "VlzRmf9/Qan8Dbve3QfW1Ym0o5J/KAc3z1VBho7JBr5PgCL68RiD9jZHN0VvsT4gzsEjNlW3D91U\n", |
|
759 | 761 | "y4RduaodBFoNTzXwlfUYULBzdiTbH75l/UmVMC4TKeTWhNzw2UezaqeGd8at3WSY7W/VR3+hvZHD\n", |
|
760 | 762 | "pkIjgKuNNH0DsCRa/Kk56XQoHIyvvUH/eNekNvziReqS4qgLnXUT4BRGt2BOtCifI6+X/DGHUOmW\n", |
|
761 | 763 | "lX7TN5b4pw5U7jwfwshtbhGZM49T8JMk15Mzrc7tM6J11TYxb5R3mQhZ8TZumJ0bMJXPM69HFyih\n", |
|
762 | 764 | "r5dJSEJMycxJVUh6NTQALUOoRTHIOwE+FpWI6feTv1SiZ0YpYe5DbkYJJbN7zAHbAKw25XvqR2mA\n", |
|
763 | 765 | "jQmOlsfX/tK8DPjP/8h5/xgAF4EUbj1tOnQCBQL8jk9vHtfsXncsprww4Z+P/Z/UrKifuFyEpBWN\n", |
|
764 | 766 | "8kLpF7yywE2iYdDruV9+/qKR8rC9ozNKyqQNIwtxrzYkWpE5t8K7gG4JFnrHona/Rp8dOX6VW41+\n", |
|
765 | 767 | "jb5LB1LEtE8MwjLp3RCUOq/+6yLzaOEgBTqzvEjDeFpg/u9DMHMr4/2TOchfjg7dl+uQ6Gsx+4Ia\n", |
|
766 | 768 | "9W7vivG95027p25eKL0nHvx/OqmAQEZYJL/JO58lOj0zPdJxrQ5dZksjMISzVZNn7DsxqE3zgBBu\n", |
|
767 | 769 | "Nzk50R8lTK3U8P12QiOAQYSTeGlYlkvfeofrfO1AitEj02m9aUkxTFd1ZZJoLQT2d3zEU5PmE4lx\n", |
|
768 | 770 | "MVfL5ttNnIbqfcIU2RJKNWqdw77xfjfrNc/eNpRKPZ/6z50LzBprgjzBHRfKgSWWkDxHrX0aTbgw\n", |
|
769 | 771 | "QFwd51+PoUWH4DkQg26uGslF5Hn3hB58+fkeLTosTANOIBNAeFZtTc4PIaLHw759zae7scY55xcT\n", |
|
770 | 772 | "abzlilYIftst2RZ6ntsRC3zFxduCKvL6wLfYT+TiIWJn5P7sTwZwXuSzXY+9Q3xMZ5o4Xcpz6vD9\n", |
|
771 | 773 | "FtTjzS69iefEYt4pXiDrZUo4ePGiLeoIFIwYB/v6GXdmG5VLLk+eKbOc9AmsX2zmvqtcvDRGQbzu\n", |
|
772 | 774 | "gXbH/kTH/lkNPBTmqN3ZJODUEXVohPEJ6th0xna0EVleB73Q3eNvaVUvhlJbjs3D/T17FRCebN7A\n", |
|
773 | 775 | "OXvzzbLE/I5kNfEmJcv4dxtIeo2uQ/z9ohSpiZzbDj1u40nJRyJxUK60wEv0nA9f/NuJ6/PEyU0b\n", |
|
774 | 776 | "kK16z2KH12k3Lc4+1f5fawIzkK2qJRB4wnj8VHhUW9mbJhs9vgfFmU3xrXSShY67Ygb+gYNPxxtn\n", |
|
775 | 777 | "4K/9eTSwIA9fv/nR33lA2lZoXALRUTmOZIl3R0gAM5h6oX1y1thIyqViBK95VZc8Pvy7G3O90M9S\n", |
|
776 | 778 | "4zkpyFQ36jrMazvMveMA4d39fvoaC7p90quiJfjI4yrl+ECVkCJL5MxRSa+iVcIL7Xbl0jVaGhZI\n", |
|
777 | 779 | "cMYmcGOBbLzhJgloM1x1zFnnj3ggJRFAM8yNnXxhavk+mA18JC+y3lqGsp6vPReRxGlGHMou17L4\n", |
|
778 | 780 | "It070LzkoeCzarpv8Apw59smdS5KN9qVN1WgeL7OSN8BHg94ubCvS7DW6H3/PbtRB62jFLsBhUV5\n", |
|
779 | 781 | "YqCIbIN5VZ81AAACpUGaIWxFfwAru8x8uT3FuOjrAeSWXmAWqq9jCNGE+N5AOv//9//xjk4uBAcA\n", |
|
780 | 782 | "DN96c97AVGmzRtnWwPsgcCbLrVdQJgbKp4QSmPwQnVhv0hXyBjeFWWlcvx70urEN3FK6/lvk2tQe\n", |
|
781 | 783 | "ZgbtlbzXluvTfnSj/Ctz7vZ+O1FjhDzzdpL7uLzewzCIW5VWLAEKUVuS2J6wNk6MR7UblcEd4EtO\n", |
|
782 | 784 | "Y+R4/qJgfojCsfRvA0oC5dc41Vd0erZbSkrmPTjLCn815bxlchUJMS8gQD5hJNwoKHvNLNwn7XKu\n", |
|
783 | 785 | "TtYIhH2wVNZvDWgzCjlPeQajnrcMsb6bZYJvNJU8HuGHvm50r7VG8qifEwmuyegAZXojh5Ul5Vvj\n", |
|
784 | 786 | "DW7kSAZyw8a7I6mHY3FZHd+OA3V4JZMbNliI3Tj1L6+MKTmilVialmyZagRtEMeKRdtxUPd3vVEt\n", |
|
785 | 787 | "rOBVIVYWdgAGA7HmZiHQUQNxLkWxbLyWVlrh5EM0Do2NdbclHxxArz90d+MSVeUOIXQ/4V9quq8C\n", |
|
786 | 788 | "8qVflo1gPtPMkjO2/UrdOYqhY404ReObOu/fdp4hAEDq6jhy64vOeT7XUK/Onq0rXTldtA6kvgQa\n", |
|
787 | 789 | "Jg+mgYSR9hfXtMbOUSLgLj/RmBSO8aAMHuJJZqf1tCM5pZ9eYUsrHmy+/z2NGalon0//uF6+33bQ\n", |
|
788 | 790 | "zT/RLRfBbYTjy9QrJqHLlw46lggWPGkHuPKSqk/CB7U4pNPXUbR0DdcJy9Db00wCzVzxVc6h7jfC\n", |
|
789 | 791 | "FgiL2Y0HVqd6bgIaVUqn/gJCEyCDVplnzebv0gg3XwMJAGu639lHu7rEvxTp1smIYjWp9R5L4Ssp\n", |
|
790 | 792 | "VvS07Nb+Smk1FgsMp1K3EMUT8X2Fty4VG54/Ec6bE8tNVw4/QV1VzBw7Px2/2eEhhUS+FMfbHAlD\n", |
|
791 | 793 | "28x00jRgAAACW0GaQjwhkymEVwArOUkEOhoFqiELtH8wgecFLiUq6WqmwAP7iGEwbYzfnHacfqUN\n", |
|
792 | 794 | "XAfD+CGR2ap0lAHL25ipuYtd5j2O0PU/MpaWPG/n2y5OkfTzaOpotaR5tWjN55B2XblVVqsFfBC/\n", |
|
793 | 795 | "mvsiPvCBWUHFChacdY5whj5mP5rqQ0dqLJCsWjrs4TWnIbL2V/Iwfj3hwI35jfo1JkTOeR+8GhOd\n", |
|
794 | 796 | "ma9rgiKWafCbQyhYMTDmVdvhND60Flm97EDSTjF0OC+0gD9b8Yn4tNeHipCa/aWyt0n79bMmjfcj\n", |
|
795 | 797 | "ntBCPjrcB5ecRTpfGHbEHy1IRj2cjkGXKC+VYoYJXBp4rd4cMd8ygLCk5nBSd8/cTaKNRjdBscOe\n", |
|
796 | 798 | "TXG6QEjSxj9/2pVwx9DMRVtWQR0BSaAcQcZ8W2KPSaeRC4QwmNMu2xx25CSyrDiq2rFSK/JJtmvo\n", |
|
797 | 799 | "IjAKq0ciEXoOgw+Ke+Ylb7ULKCS3k1p/613UNRp450uSq5b7CAHo7S0b7fBMLfNmwSjRYEhLlo0H\n", |
|
798 | 800 | "UaRe/I+IX2Z6XdZH9Hty/399ZA1PwZGC6EfvUJIf7CBeaxv7cu6IT2/s0zPRGthpvXpYw6A7P4Ww\n", |
|
799 | 801 | "z5C4V98KnIUNUanadqabKP6eXWhvbvcQHxAjiOOiKZgXZplZW2g+B2NNyJSLiR+g48DqvWR6t9S2\n", |
|
800 | 802 | "aGfFjdOW1Gi6oTtZ1d4p5XIslAr8mryeZ6+htSSQe4AcfVt7k+V6mOthBCYtr/LEU4ZHtl0mW987\n", |
|
801 | 803 | "6PK8mRFAaT8DJOUFVz1lPfzRApuPggkkyq+UMvyfKTUbCk7/DpfX8Y4s4QAAAg9BmmNJ4Q8mUwIr\n", |
|
802 | 804 | "/wAsWUPjZw3ksgRsxZ6n4fQjprPbkj2aUh30y0bZJnLmiXnWskvOGnCPwBnG9dEhatwX3hoxk7BN\n", |
|
803 | 805 | "yG+wQ4emZUpcVzcWl2T9nKQB1euucuZWHTg7TCtM/iHyfPO2vbmGsfzs70b/egIbywUH4y4BQSL1\n", |
|
804 | 806 | "nWc1SmpHm2zHMBcUjYLDZ5gL5vdfxn0V8FFw66G88c/LN4I5icUa7xf4fcSBKywU0ajbp1P+aJYj\n", |
|
805 | 807 | "BgWT6Ggu0MDLDNl54tfqd42lKosQtM1aif4WXAZFP5Ww3vrQ1rH9+utSYxqZd6N6gGtNbSNMcVia\n", |
|
806 | 808 | "Kn5LcnjsbBi3T3EmGqshEbcme8VHKwR3kSfBOAprrIsv6K8R+X6az+MD23rWka/2v64m1qM69D7X\n", |
|
807 | 809 | "a+Kcs/n0KLCJdTilyaGadopLeaAn3eYvWTeHcucMM1Fp1KgHD1tiFeO6HvobLkZlRximsA3/7Mio\n", |
|
808 | 810 | "hYklLIcJrZL22BH+6W9d6kZsYIsej9RM681nU6mWNjepBAfAfTbrGRrVB/h2DxC5B8YyRjgSIzQj\n", |
|
809 | 811 | "NYrse0rzChqbrsLl7mQ7W+1bsNKze5//9ZIa8rSsF+BXh/vgoRTDkPW/ws95B7VPCZEFChfX0icw\n", |
|
810 | 812 | "+tpcpN/q7NY87tUn4vESdSiMMlyhKklMjQu/G51J69ZRQLs2oUO6YfoJFqliy4qCFCrf8SZE9Fc6\n", |
|
811 | 813 | "DcCagAAAAodBmoRJ4Q8mUwIr/wArPWF/KOw78THwadfPqhJO0CnmR/M74/XYZLqVYKlNcEaYauf+\n", |
|
812 | 814 | "vrRUDJPmu75sMKy2Y+Bnslc/iAISSyWtw/h/3CF8fE5ZrbrwSNst+MSyCoNWP+8imtoX2eyojpdC\n", |
|
813 | 815 | "k8YP5K+cbK4SJPCkZXbYqSXYk7hO8AdSemBHgXKWiZ+UOr802aJo+98ZOIjX9hWL9bo31Gqx7cy4\n", |
|
814 | 816 | "ZG+W/ar/WGlzDa1xPWnPRsEdrIcZlEVGV/jGmbirkxw1lyUYoqj8Vv7Bxube9XPQlBkXOV6Lc1LT\n", |
|
815 | 817 | "2IzNq0V7WwVhF0kA6yxfAsFxc9krNEH8vGGntTWI608ovjatXc/CKKXw7AjJSftlTcLI0hIIGXbR\n", |
|
816 | 818 | "Ur0NCYNp7M4cVd/n73Rjetnixz4SAKpcz/P47UsijZG7T3SxzK2D79WS42aEalc12hQwCZ01LfmF\n", |
|
817 | 819 | "/H2mmGEvOzPBie1D0YT7Jh19vxa4Dd3SQ1FrDfmSUpvv4DjbYcZ2PrPpFpWtMjWqHBeoyMiZf6RP\n", |
|
818 | 820 | "3EfYR6z9jsVNIIHxM0bzzBQF8eeYkPgDySydxPXv9Izo+QUY94N8kWi16fI6eZSDc1G0Yo0L91jc\n", |
|
819 | 821 | "RQuDMGGS7B2zuf/0GbJyRhUO48UbMrqnILMrbQg1LF00Q3pH9nbGEK/RRQpRN3T/J/4IZQjwW2Ft\n", |
|
820 | 822 | "2ipWGztg1Jn9I4DmffKS60QC+JQcyakdVON6zDcKttIKlqeTcmAi4xzmo4QXa2dRKleS+fs3EtTd\n", |
|
821 | 823 | "BBtony2wK9T2Imj+NCziOSEL7Q7VuIU8kclUHrJJsSneFcxGRgIgGGUEQM8/pklwTOqab7mMmJeR\n", |
|
822 | 824 | "iaBrjJDEnDpkR4Vz3qXxgyn4/5x24FuTMNVPwQAAAhtBmqVJ4Q8mUwIr/wApcLwPT0/Xh9UdWqWX\n", |
|
823 | 825 | "Is8Wbj5K1hivmN6qIQnq+aolcegdlM/63MbHsdC6xYZC1e/Q8UjQCt9N/Ejqwms8DzeWv2qxskel\n", |
|
824 | 826 | "iZH0kt1QWkErWSEodq7V0ZNksctLkMGWayX33gBT368EehfIeGDolBZoqIbJfb4nqcfU+ev4OzVv\n", |
|
825 | 827 | "9zVqWyLck315GFmXxQKIM8pICQc8Q5es34LH1+DmnMnW8kQpVGrztQcDXhjCU3F0fOgoSsXSVWCj\n", |
|
826 | 828 | "c6XKqGbCwQDfJUxCfXfIT6YmQoPpVp1mpGy1wQypXus9z0bScDpyDu23hViYDntdj1O45ea0znKZ\n", |
|
827 | 829 | "kj1+tLHbBtqAGJ1WTcbGlF6Vya6hQhEsiiZUIC2fRxIj8/wEXCICIbr0gZ/m6gcOhE10tenvE7iy\n", |
|
828 | 830 | "+BKY81wLWrnzos3S6FWxYtmCRes+LLhNGOKWRuQo6SyePH2OZ90xZm8oA1MuTe3V59euVNxjAt0F\n", |
|
829 | 831 | "LkAc9TEiFhP/8CB+gA8mF+A8h1U01f4DVX55GzCH51jHI2xUS0L9GtsHoBxLPLK/NNel8zcnwG4X\n", |
|
830 | 832 | "+UusfcfEb5hh+ffnXteCE9vRGbs2n9wYW0xA3ZicklfadmWKUtMiHYBfkMSULWnkBQr4CXxjpYOs\n", |
|
831 | 833 | "6ygeEoA5+5B0B1SZObgZ42wWqddyyYE0NfwQAl75tfdJGqOa7OMHwBYNeatJaJK0zT2+bFaw2qWC\n", |
|
832 | 834 | "WwAAAitBmsZJ4Q8mUwIr/wAstkdsayRXchoFk703izqzduZ5WsyXriI9cfUdMUWvm0iGHwYIrUuj\n", |
|
833 | 835 | "vz3Yjou+JLwv9df2kt7MJo8u+3P5CjEKbwlz4vkE5AHTAbgXn3+Xc/MMJLgW5cm7iX3KiGNnBpbp\n", |
|
834 | 836 | "hhwJRlb3u91NRDr0d1IR2up/z7lKxE7XPAPFe0siPMYVlIqWNSn5KqLABPeuxxbOsvMEb27/nH1L\n", |
|
835 | 837 | "UVM8I2F95c1I3Lv1SpkhZXjs1JsmS9X7gsoTxkXyShGC2+zRJSGUbhCPo/q1XSFMHQyMWJ79FKPQ\n", |
|
836 | 838 | "SL/RpVsacN2bYwdKo4TFBw1SsKq/L1iOmqMI+4Gxnbbjojdk0ek0JIcDb4bHv1czxchF7FX1Ym8H\n", |
|
837 | 839 | "6IpPuE8CeNKjzQ1a1wqhEu+wl1N0x3Y37ZryCCKJRkxj0FT7bOoH3L38/yMUuh/v3aCmxY4eCkyk\n", |
|
838 | 840 | "b2p6ZrYMFE044anM/nMjmbErMibfRFuCz58Io1rBlF7JfkIz0R2/5vjUMVskcdbX2mm7DntncOsW\n", |
|
839 | 841 | "DIdg/XVmgsC9CzVzUyq4VsS/sk97lJggcddpWLNw/29egz8iLyzWHOAXCvl2fTIPkviYAOQXfVhZ\n", |
|
840 | 842 | "UQdxsyJUNFMTiALrZCmoQLMp2LmDbfbW8JQriDeR3fVz6P1sjT8C2yEDvzkCn7sh0aTBK+sx7BKH\n", |
|
841 | 843 | "1nb4320+caQepQj4TCJtCeNXjdrVcNEnjvwlcRJwFT1pT+Y7HREbHnT71XYNh4EAAAGEQZrnSeEP\n", |
|
842 | 844 | "JlMCK/8AKIjxcI58rm/ML255fOJW1zbznFna7lfgMQrka7OTPPsvVAV4EJXye/Uxiu9dlftmRypJ\n", |
|
843 | 845 | "qfDot3xwDe8lX/qAVf6pBkSlUsaLyBYtww/SUSa1bGl1JvrJCN7FXCCXbLd5R4PoYlPiDIm/DQH2\n", |
|
844 | 846 | "puO0StIWmrR77Isc/J1pRvdu5+mQa/n0SEHUeM2KkoRzCznfD9zaaRO7BDtvC9SYIT0uYZxrwTjx\n", |
|
845 | 847 | "Q7N7UERTrYG0P+vRLAhxkfohFIYl3HXyjPOvnlbUFP2oiiy6nkUFuaIyQcJawJv3GU8k4ObcKsC1\n", |
|
846 | 848 | "cNDXjSpsyQRrxLFaCCjke4mikyt7vs0iN0bnrNWv9HXruG9zOFEOer1ggIFTsT1Eos5CXRkgja5H\n", |
|
847 | 849 | "N4QUM6MhWpc5du/HgBIH8ANFcoo2kJpqcadw9r/0qk25X91MQSDJQiH8Hny2dQhqR+LFWEawiW75\n", |
|
848 | 850 | "3SJhn0ngZcv/mPj3mwcHv1SL9ErBqAjm4JGiDetPKYtFwANYY11OyQAAAVdBmwhJ4Q8mUwIr/wAr\n", |
|
849 | 851 | "Ox5HV2505jRePGgMxptW4PGIHEszV1xGZS+flSkF+aq30AaqO7u6XK9jJsuWXTfYCRQTn1bZfFQ2\n", |
|
850 | 852 | "2DbO5DXAxK/TUmbQleCflFzeS6/czxkL4PJ8AwOs2U+oehekgCZC8gZyHHaQSaKbNJ46gTjNsLy8\n", |
|
851 | 853 | "4ACQ5uNt11TPuCPqPTuh+schdw9S+/lU/6m+EyaqGZ49wDFPiBFBYXglQQBjyP9k/rqq0xL7SiLj\n", |
|
852 | 854 | "pe4riYg8SFUuUtOzPdWHyvxnI7Ug/0VLPGAAhgMISUnqe01d5QFf36yHpwMAHexjAZFIGQHAFaut\n", |
|
853 | 855 | "uMuEw6HzUZVzNdeHYxvEYOGkTo007bLwbuf/nxzrywGOxlRTYJLRdYI0mk0SdN3+LeTv1RIJwv21\n", |
|
854 | 856 | "+e9rT5iFOTCgzeQoekEWXLYz0X8YLq5bVCtijP7/T7w1Ck71j0aqfrEn6wtIAAABNUGbKUnhDyZT\n", |
|
855 | 857 | "Aiv/ACcySi7VBgOid6qZNXvhh/JsllHkMLLq0yNbQTqv/Wk2EBoSKICZwFwAD0WRzhvvReCGirep\n", |
|
856 | 858 | "1Fe4bxjm49/UR+OYrXRmHR18T0C83AUVeBk7KvDZmb/eHzuzEN4yfXucr/NWFJl+USVMY4r4UQ9C\n", |
|
857 | 859 | "ayrfEY9v6AQ6mzAdLy2UMfFxrRJ99g/Rfl8qx+m4jIZNjlrTaThzJ/3OpVmAliDfxVyg8+CVIlI3\n", |
|
858 | 860 | "1IykiwQrXcebgajG+av8XU1SfyAG5ibvwbtdSAxkGBcJWL387V+uTdY56w3KN2vBtoQpVKD2zb3y\n", |
|
859 | 861 | "azIcATZ02upwIytNcM/rpaLCdMb1myWcikE25agzLhDhOS+4zwjYz2DnW6VY0gFBAPsphhsUMnau\n", |
|
860 | 862 | "VVdUVHzCTSdvzEve/H8q4AAAAVdBm0pJ4Q8mUwIr/wAo+x5XKuiN1am7SkJKSMonFZDPU3f5XFcD\n", |
|
861 | 863 | "QSs0FLVq2idfsKwuIkt1mxIq8NgMHpzofTnDHqs/WedvAmhBgL0N5azdQa5MNKG2rJ4IAvGQY/uF\n", |
|
862 | 864 | "m3jKQAKzvhSS01gO1oIfizF817z9IShS4QK2WT0PeFPELqLSpED8eNOpVTR96vmwpk/WBKRVJdTQ\n", |
|
863 | 865 | "JzjiCQ5pgEwjtvk7KqoS0+lwXSbvIrXkYm8DignEts3DLNoLHrPjXlQmbIop76JZSyJEtB+91GrL\n", |
|
864 | 866 | "wo6Km5GeebyA2E6qGL3xSkpppej/ruoFprSKrH60UMbrq/SK7eCo+1QFoySPQmqDFsMGiQFqvtld\n", |
|
865 | 867 | "5BXDYdVI4yRaoyN7Y7wi83HRC6eVazuHU9OtIY3xJJApBWq1aJOsYwc38aTC3ee863Aa/4n9Lk4D\n", |
|
866 | 868 | "AtyFYHNZjB5m2e2vk8G2Gny9YFlBAAABQEGba0nhDyZTAiv/ACoZSZQfHxhfQxEqOBQrP+L3Dmgv\n", |
|
867 | 869 | "HSJQtB1iVkcLTxm+vagLHBLG91OGnopwrr7gT/loDypIhoRxjcwAAOeg/jN4WBbXzCJtnWGGllUC\n", |
|
868 | 870 | "SdtUZQzKOSp9iM4yX18C6jrY4Sq6R9PUV/lEGNveJR4gw4FMve7110XdEPL1O2VTdHvdqeANyaq0\n", |
|
869 | 871 | "nLdEmtXnrzvdrFlBaUvmaR4EdlkqGkvkZKWJej8Vq+msbKa7JdbxjwZtRufiyGfD/NVqMgSrYRzw\n", |
|
870 | 872 | "9z/a8Zwbr+9+19CxlWD5bCuAEfPmjY6kZJE2L/CQI6+tnCBTXOmWZtZMBoCLGOf7G2uAC3+kFlbo\n", |
|
871 | 873 | "h9as5WCkO6+iqXq29dyhKnsHInorRYsPlgxIXyU1Om/Kyhj1DJV0Am9WJK3Dln0zNUH0q6ZTOnZc\n", |
|
872 | 874 | "FD36AAABYkGbjEnhDyZTAiv/ACcwdIOLRFfoGK2ZkKsvgMwG0m0qsY0vMLPSzefc+ebp/aztyF7M\n", |
|
873 | 875 | "lsBz/fBeNtxFBcsKgR4pf65GvdfOMHah0ltZ918sMDmXUEZMeRHy/xpnWpTLeGz6uTs/7MATPmU5\n", |
|
874 | 876 | "BgHbT/DkD8QeaZnFAzidyFCXDz2l/jaKhEdgqipbB2pH0+fQ039r05z9axxEWGmaLQjg6x9+po1o\n", |
|
875 | 877 | "24yhkVO7m03YwWmPyCgy8cOwrvRyJkXJpRN4m8ZBS1zwY80HeN/VyMQQJSMwsTo7R1XMerSFuyx0\n", |
|
876 | 878 | "nz+8qOuhiqykc2ohCCsXia/+kIKbJ5Vs+cbWtvkqBKIDSfU7FhAd3GjcY/xar0EVmi6wWFTugAog\n", |
|
877 | 879 | "R3I7mTrQDdlTAqYgqO7Gn5NMXQVHu2i1zhFSdo9GjMbeGnbkJwsFbQ2XkoKRIDpuW7AewC9AEBt0\n", |
|
878 | 880 | "Ox/Ah6dGXfXO1jl8pEApj2RFmgAAAPlBm61J4Q8mUwIr/wAlR+eW/VZ7bSrmwwMA62G05DZ7p/5F\n", |
|
879 | 881 | "UugsSsQdonUq6abtbU5hjFr+I1lPgoiV5c3CkTQZS+K5zivdo+Ti2P4K90xXANp8dSMAu85uJIOC\n", |
|
880 | 882 | "Qn2TXbEnNDifLB+3V84ht5tj4lvTaZx317BcliV8D5v2zZQW8RO1mUbuJEBItst8E7hfE+ZXj7tf\n", |
|
881 | 883 | "DxNZPTvtpFyUv0fH1cTg1pr2VLy0d0zQLiA58dg+GkRvR1/hs2LyifBgHcj6eTWz0vsypVn9iPXR\n", |
|
882 | 884 | "H/unJ6i8cfFL69NO24tQ9QQB+nDFhoP2cRhkAvhHwn56n5PppBD/oxni2f8AAAE9QZvOSeEPJlMC\n", |
|
883 | 885 | "K/8AJjAXVGf+Kj2XNJnFeKC/gr7dJDTC2ngpd4WeAHlg04GuJKnn9hAmiECxxo9qM1IYMRiB85t6\n", |
|
884 | 886 | "gALnlm9sRqGmioyzAm18RJndc9Ah8RlpGzr+44a6ntRaPx0cIwNIWAA8buL2JP00dmfjNqEiAlCa\n", |
|
885 | 887 | "8OdV8FQxjp1vDXsGcAGF3Qbd62KEpkimeI3wH2nuXpbDHm8/ZKOR49s5ifUCkxCoJpfp43aC0lTz\n", |
|
886 | 888 | "h2NXpcfVw6h0QnK8G60R4ZAxOxaJB7c0nn8ixXSU2JVY24EtGMF53nxJnHfzUheewUfBOGYSxeo8\n", |
|
887 | 889 | "oK7oUCqX4rztzDwoc2QywNqQUJUkFrqIN+sb5ecYvX24Zujn+ZzTW6UDAF3R6WdNyJyRAremgC8s\n", |
|
888 | 890 | "pSflTqygQNGfHyGkfIEEJJaFo/pBCBkAAAEWQZvvSeEPJlMCK/8AKI41fuekXG59Knbw4Y6YJrit\n", |
|
889 | 891 | "sh9VtQgc3QKvVmxrzzo7f4aXn8N74eyP4b2lV1Z2Q+rohxps7EHTkOY9jLdqxI3MXe7je4g2qepz\n", |
|
890 | 892 | "71+hY+jYdX+9LO0kA0Zg3NfyAlIRX7k6c/YHAZNtNaGZgTBMqiPgmEjiJH9Luk7shbgr+srfwiYw\n", |
|
891 | 893 | "BX9rdS3fQNNFwcT8orQC+F60LAY9+GbFo2Sw3Ld4Tw9jq9yJtrY8RtHAdzytyek/mv2+j2TbTvAQ\n", |
|
892 | 894 | "KbbCYtdC8E/KtR4V5ZTSScr5Wb63vmbw7UpddEXYvl55pARyyvMxWNSh3Li4GF8Jk5JBi5B5ASQw\n", |
|
893 | 895 | "xCMYpX5hkAMc+d8tl2bT+IEvUTsAAAElQZoQSeEPJlMCK/8AJIAzFZs00JJ0yfm8CZiew4xWdArL\n", |
|
894 | 896 | "klEvBVXo/+ukPLu3XP9HFOfsme3T6BJEKmPPgZw/Lxnraq6Sl2kLVW19YU1qmqgfv+80LkZaWU5g\n", |
|
895 | 897 | "RAH4hqyo3bFYcbuY2SC3IW5Wm69gtYyAXOdbAYSEHA16fvCeRQjHEsxKVndJdrRAlrGHsKgUBQ3U\n", |
|
896 | 898 | "p/ZXIy1vkdFOfKSjpuZnswkuqr8NZI5tJ/dnBSErBTNWPaNwWV7nNomC0EYVGo+geGBhLXzaLw0U\n", |
|
897 | 899 | "AOCYGjiPc3803BDw1GLoLIXjrIFJxwRfBNIAXYZAglu30oYzhpAfRWSprkeULMWYJTlWvbUQ5CNe\n", |
|
898 | 900 | "wSZssuDWIRAc3w8AcFaywwn+YSGhtR8VI1OGjYkfBbcAAAD8QZoxSeEPJlMCK/8AJdokjCUETRw/\n", |
|
899 | 901 | "nciVPtaZQSBP/VxAQSITASEzlJBl9Na1r0DJhLOz279+KQLtl/xHZ8vAKc528mTMTqtWs4sFbeVg\n", |
|
900 | 902 | "HWyBpHcHEtgTzjIqEinp/MPuUXF5poo8YLSSMFn9Ozx2FbU5/Kh9A39oN9NHQflVxV1NA6yT/84H\n", |
|
901 | 903 | "HyfMtfdSMS8KTvAEE2lDs14VQayNs5ctjXboQT7xMBf5OLj6thhPvgaDrFB2o/PV9ouK147lruWT\n", |
|
902 | 904 | "P2mkoA9oDIMYW1pcBx4yyV/t9GOPZ3aXneMUb2fFmUCX43BjXfUDMaa4GO2/Ankj3UEQwDxA7ZlN\n", |
|
903 | 905 | "UQK2AAAA4UGaUknhDyZTAiv/ACJHv33I08bkhybYiJ/JiiheW5zMPBu4n5CxGr3frhE7TkLh0vPk\n", |
|
904 | 906 | "tM8m/AhaDiJisdk5QXNe/4WmxEDSAyaVi4eUVu0iHT2ly/KNTGqiORqA2oKpTjh84nYbrpXwnGv9\n", |
|
905 | 907 | "SOf/34Z06xN6Yo3t35UZrP8nlcs/63GtnEmnUwVZHBYfPM6bs5M5AeBfAQ/9mIqu7vnEst+5O2wp\n", |
|
906 | 908 | "PjzdItjwGCZ2ApHVjGnYYFomlA9nm6AXnxNIWHIsDgxCk3zx+6QbXipu/CWLG1Wf0WIbt4C0JPVl\n", |
|
907 | 909 | "3TEb0QA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BhgBIAAAASAAAAAAAAAAB\n", |
|
919 | 921 | "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGP//AAAAMmF2Y0MBZAAV/+EAGWdkABWs\n", |
|
920 | 922 | "2UGQz6mhAAADAAEAAAMAMg8WLZYBAAZo6+PLIsAAAAAcdXVpZGtoQPJfJE/FujmlG88DI/MAAAAA\n", |
|
921 | 923 | "AAAAGHN0dHMAAAAAAAAAAQAAABQAAAABAAAAFHN0c3MAAAAAAAAAAQAAAAEAAAAYY3R0cwAAAAAA\n", |
|
922 | 924 | "AAABAAAAFAAAAAIAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAZHN0c3oAAAAAAAAAAAAA\n", |
|
923 | 925 | "ABQAAA05AAACqQAAAl8AAAITAAACiwAAAh8AAAIvAAABiAAAAVsAAAE5AAABWwAAAUQAAAFmAAAA\n", |
|
924 | 926 | "/QAAAUEAAAEaAAABKQAAAQAAAADlAAAAzQAAAGBzdGNvAAAAAAAAABQAAAAsAAANZQAAEA4AABJt\n", |
|
925 | 927 | "AAAUgAAAFwsAABkqAAAbWQAAHOEAAB48AAAfdQAAINAAACIUAAAjegAAJHcAACW4AAAm0gAAJ/sA\n", |
|
926 | 928 | "ACj7AAAp4AAAAGF1ZHRhAAAAWW1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAA\n", |
|
927 | 929 | "AAAAAAAALGlsc3QAAAAkqXRvbwAAABxkYXRhAAAAAQAAAABMYXZmNTIuMTExLjA=\n", |
|
928 | 930 | "\">" |
|
929 | 931 | ], |
|
930 | 932 | "output_type": "pyout", |
|
931 | 933 | "prompt_number": 8, |
|
932 | 934 | "text": [ |
|
933 | 935 | "<IPython.core.display.HTML at 0x10fba28d0>" |
|
934 | 936 | ] |
|
935 | 937 | } |
|
936 | 938 | ], |
|
937 | 939 | "prompt_number": 8 |
|
938 | 940 | }, |
|
939 | 941 | { |
|
940 | 942 | "cell_type": "markdown", |
|
941 | 943 | "metadata": {}, |
|
942 | 944 | "source": [ |
|
943 | 945 | "## Local Files\n", |
|
944 | 946 | "\n", |
|
945 | 947 | "The above examples embed images and video from the notebook filesystem in the output\n", |
|
946 | 948 | "areas of code cells. It is also possible to request these files directly in markdown cells\n", |
|
947 | 949 | "if they reside in the notebook directory via relative urls prefixed with `files/`:\n", |
|
948 | 950 | "\n", |
|
949 | 951 | " files/[subdirectory/]<filename>\n", |
|
950 | 952 | "\n", |
|
951 | 953 | "\n", |
|
952 | 954 | "For example, in the example notebook folder, we have the Python logo, addressed as:\n", |
|
953 | 955 | "\n", |
|
954 | 956 | " <img src=\"files/python-logo.svg\" />\n", |
|
955 | 957 | "\n", |
|
956 | 958 | "<img src=\"/files/python-logo.svg\" />\n", |
|
957 | 959 | "\n", |
|
958 | 960 | "and a video with the HTML5 video tag:\n", |
|
959 | 961 | "\n", |
|
960 | 962 | " <video controls src=\"files/animation.m4v\" />\n", |
|
961 | 963 | "\n", |
|
962 | 964 | "<video controls src=\"/files/animation.m4v\" />\n", |
|
963 | 965 | "\n", |
|
964 | 966 | "These do not embed the data into the notebook file,\n", |
|
965 | 967 | "and require that the files exist when you are viewing the notebook.\n", |
|
966 | 968 | "\n", |
|
967 | 969 | "### Security of local files\n", |
|
968 | 970 | "\n", |
|
969 | 971 | "Note that this means that the IPython notebook server also acts as a generic file server\n", |
|
970 | 972 | "for files inside the same tree as your notebooks. Access is not granted outside the\n", |
|
971 | 973 | "notebook folder so you have strict control over what files are visible, but for this\n", |
|
972 | 974 | "reason it is highly recommended that you do not run the notebook server with a notebook\n", |
|
973 | 975 | "directory at a high level in your filesystem (e.g. your home directory).\n", |
|
974 | 976 | "\n", |
|
975 | 977 | "When you run the notebook in a password-protected manner, local file access is restricted\n", |
|
976 | 978 | "to authenticated users unless read-only views are active." |
|
977 | 979 | ] |
|
978 | 980 | }, |
|
979 | 981 | { |
|
980 | 982 | "cell_type": "markdown", |
|
981 | 983 | "metadata": {}, |
|
982 | 984 | "source": [ |
|
983 | 985 | "### External sites\n", |
|
984 | 986 | "\n", |
|
985 | 987 | "You can even embed an entire page from another site in an iframe; for example this is today's Wikipedia\n", |
|
986 | 988 | "page for mobile users:" |
|
987 | 989 | ] |
|
988 | 990 | }, |
|
989 | 991 | { |
|
990 | 992 | "cell_type": "code", |
|
991 | 993 | "collapsed": false, |
|
992 | 994 | "input": [ |
|
993 | 995 | "HTML('<iframe src=http://en.mobile.wikipedia.org/?useformat=mobile width=700 height=350>')" |
|
994 | 996 | ], |
|
995 | 997 | "language": "python", |
|
996 | 998 | "metadata": {}, |
|
997 | 999 | "outputs": [ |
|
998 | 1000 | { |
|
999 | 1001 | "html": [ |
|
1000 | 1002 | "<iframe src=http://en.mobile.wikipedia.org/?useformat=mobile width=700 height=350>" |
|
1001 | 1003 | ], |
|
1002 | 1004 | "output_type": "pyout", |
|
1003 | 1005 | "prompt_number": 9, |
|
1004 | 1006 | "text": [ |
|
1005 | 1007 | "<IPython.core.display.HTML at 0x10fba2450>" |
|
1006 | 1008 | ] |
|
1007 | 1009 | } |
|
1008 | 1010 | ], |
|
1009 | 1011 | "prompt_number": 9 |
|
1010 | 1012 | }, |
|
1011 | 1013 | { |
|
1012 | 1014 | "cell_type": "markdown", |
|
1013 | 1015 | "metadata": {}, |
|
1014 | 1016 | "source": [ |
|
1015 | 1017 | "### Mathematics\n", |
|
1016 | 1018 | "\n", |
|
1017 | 1019 | "And we also support the display of mathematical expressions typeset in LaTeX, which is rendered\n", |
|
1018 | 1020 | "in the browser thanks to the [MathJax library](http://mathjax.org). \n", |
|
1019 | 1021 | "\n", |
|
1020 | 1022 | "Note that this is *different* from the above examples. Above we were typing mathematical expressions\n", |
|
1021 | 1023 | "in Markdown cells (along with normal text) and letting the browser render them; now we are displaying\n", |
|
1022 | 1024 | "the output of a Python computation as a LaTeX expression wrapped by the `Math()` object so the browser\n", |
|
1023 | 1025 | "renders it. The `Math` object will add the needed LaTeX delimiters (`$$`) if they are not provided:" |
|
1024 | 1026 | ] |
|
1025 | 1027 | }, |
|
1026 | 1028 | { |
|
1027 | 1029 | "cell_type": "code", |
|
1028 | 1030 | "collapsed": false, |
|
1029 | 1031 | "input": [ |
|
1030 | 1032 | "from IPython.display import Math\n", |
|
1031 | 1033 | "Math(r'F(k) = \\int_{-\\infty}^{\\infty} f(x) e^{2\\pi i k} dx')" |
|
1032 | 1034 | ], |
|
1033 | 1035 | "language": "python", |
|
1034 | 1036 | "metadata": {}, |
|
1035 | 1037 | "outputs": [ |
|
1036 | 1038 | { |
|
1037 | 1039 | "latex": [ |
|
1038 | 1040 | "$$F(k) = \\int_{-\\infty}^{\\infty} f(x) e^{2\\pi i k} dx$$" |
|
1039 | 1041 | ], |
|
1040 | 1042 | "output_type": "pyout", |
|
1041 | 1043 | "prompt_number": 10, |
|
1042 | 1044 | "text": [ |
|
1043 | 1045 | "<IPython.core.display.Math at 0x10fba26d0>" |
|
1044 | 1046 | ] |
|
1045 | 1047 | } |
|
1046 | 1048 | ], |
|
1047 | 1049 | "prompt_number": 10 |
|
1048 | 1050 | }, |
|
1049 | 1051 | { |
|
1050 | 1052 | "cell_type": "markdown", |
|
1051 | 1053 | "metadata": {}, |
|
1052 | 1054 | "source": [ |
|
1053 | 1055 | "With the `Latex` class, you have to include the delimiters yourself. This allows you to use other LaTeX modes such as `eqnarray`:" |
|
1054 | 1056 | ] |
|
1055 | 1057 | }, |
|
1056 | 1058 | { |
|
1057 | 1059 | "cell_type": "code", |
|
1058 | 1060 | "collapsed": false, |
|
1059 | 1061 | "input": [ |
|
1060 | 1062 | "from IPython.display import Latex\n", |
|
1061 | 1063 | "Latex(r\"\"\"\\begin{eqnarray}\n", |
|
1062 | 1064 | "\\nabla \\times \\vec{\\mathbf{B}} -\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{E}}}{\\partial t} & = \\frac{4\\pi}{c}\\vec{\\mathbf{j}} \\\\\n", |
|
1063 | 1065 | "\\nabla \\cdot \\vec{\\mathbf{E}} & = 4 \\pi \\rho \\\\\n", |
|
1064 | 1066 | "\\nabla \\times \\vec{\\mathbf{E}}\\, +\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{B}}}{\\partial t} & = \\vec{\\mathbf{0}} \\\\\n", |
|
1065 | 1067 | "\\nabla \\cdot \\vec{\\mathbf{B}} & = 0 \n", |
|
1066 | 1068 | "\\end{eqnarray}\"\"\")" |
|
1067 | 1069 | ], |
|
1068 | 1070 | "language": "python", |
|
1069 | 1071 | "metadata": {}, |
|
1070 | 1072 | "outputs": [ |
|
1071 | 1073 | { |
|
1072 | 1074 | "latex": [ |
|
1073 | 1075 | "\\begin{eqnarray}\n", |
|
1074 | 1076 | "\\nabla \\times \\vec{\\mathbf{B}} -\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{E}}}{\\partial t} & = \\frac{4\\pi}{c}\\vec{\\mathbf{j}} \\\\\n", |
|
1075 | 1077 | "\\nabla \\cdot \\vec{\\mathbf{E}} & = 4 \\pi \\rho \\\\\n", |
|
1076 | 1078 | "\\nabla \\times \\vec{\\mathbf{E}}\\, +\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{B}}}{\\partial t} & = \\vec{\\mathbf{0}} \\\\\n", |
|
1077 | 1079 | "\\nabla \\cdot \\vec{\\mathbf{B}} & = 0 \n", |
|
1078 | 1080 | "\\end{eqnarray}" |
|
1079 | 1081 | ], |
|
1080 | 1082 | "output_type": "pyout", |
|
1081 | 1083 | "prompt_number": 11, |
|
1082 | 1084 | "text": [ |
|
1083 | 1085 | "<IPython.core.display.Latex at 0x10fba2c10>" |
|
1084 | 1086 | ] |
|
1085 | 1087 | } |
|
1086 | 1088 | ], |
|
1087 | 1089 | "prompt_number": 11 |
|
1088 | 1090 | }, |
|
1089 | 1091 | { |
|
1090 | 1092 | "cell_type": "markdown", |
|
1091 | 1093 | "metadata": {}, |
|
1092 | 1094 | "source": [ |
|
1093 | 1095 | "# Loading external codes\n", |
|
1094 | 1096 | "* Drag and drop a ``.py`` in the dashboard\n", |
|
1095 | 1097 | "* Use ``%load`` with any local or remote url: [the Matplotlib Gallery!](http://matplotlib.sourceforge.net/gallery.html)\n", |
|
1096 | 1098 | "\n", |
|
1097 | 1099 | "In this notebook we've kept the output saved so you can see the result, but you should run the next\n", |
|
1098 | 1100 | "cell yourself (with an active internet connection)." |
|
1099 | 1101 | ] |
|
1100 | 1102 | }, |
|
1101 | 1103 | { |
|
1102 | 1104 | "cell_type": "markdown", |
|
1103 | 1105 | "metadata": {}, |
|
1104 | 1106 | "source": [ |
|
1105 | 1107 | "Let's make sure we have pylab again, in case we have restarted the kernel due to the crash demo above" |
|
1106 | 1108 | ] |
|
1107 | 1109 | }, |
|
1108 | 1110 | { |
|
1109 | 1111 | "cell_type": "code", |
|
1110 | 1112 | "collapsed": false, |
|
1111 | 1113 | "input": [ |
|
1112 | 1114 | "%pylab inline" |
|
1113 | 1115 | ], |
|
1114 | 1116 | "language": "python", |
|
1115 | 1117 | "metadata": {}, |
|
1116 | 1118 | "outputs": [ |
|
1117 | 1119 | { |
|
1118 | 1120 | "output_type": "stream", |
|
1119 | 1121 | "stream": "stdout", |
|
1120 | 1122 | "text": [ |
|
1121 | 1123 | "\n", |
|
1122 | 1124 | "Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.zmq.pylab.backend_inline].\n", |
|
1123 | 1125 | "For more information, type 'help(pylab)'.\n" |
|
1124 | 1126 | ] |
|
1125 | 1127 | } |
|
1126 | 1128 | ], |
|
1127 | 1129 | "prompt_number": 12 |
|
1128 | 1130 | }, |
|
1129 | 1131 | { |
|
1130 | 1132 | "cell_type": "code", |
|
1131 | 1133 | "collapsed": false, |
|
1132 | 1134 | "input": [ |
|
1133 | 1135 | "%load http://matplotlib.sourceforge.net/mpl_examples/pylab_examples/integral_demo.py" |
|
1134 | 1136 | ], |
|
1135 | 1137 | "language": "python", |
|
1136 | 1138 | "metadata": {}, |
|
1137 | 1139 | "outputs": [], |
|
1138 | 1140 | "prompt_number": 15 |
|
1139 | 1141 | }, |
|
1140 | 1142 | { |
|
1141 | 1143 | "cell_type": "code", |
|
1142 | 1144 | "collapsed": false, |
|
1143 | 1145 | "input": [ |
|
1144 | 1146 | "#!/usr/bin/env python\n", |
|
1145 | 1147 | "\n", |
|
1146 | 1148 | "# implement the example graphs/integral from pyx\n", |
|
1147 | 1149 | "from pylab import *\n", |
|
1148 | 1150 | "from matplotlib.patches import Polygon\n", |
|
1149 | 1151 | "\n", |
|
1150 | 1152 | "def func(x):\n", |
|
1151 | 1153 | " return (x-3)*(x-5)*(x-7)+85\n", |
|
1152 | 1154 | "\n", |
|
1153 | 1155 | "ax = subplot(111)\n", |
|
1154 | 1156 | "\n", |
|
1155 | 1157 | "a, b = 2, 9 # integral area\n", |
|
1156 | 1158 | "x = arange(0, 10, 0.01)\n", |
|
1157 | 1159 | "y = func(x)\n", |
|
1158 | 1160 | "plot(x, y, linewidth=1)\n", |
|
1159 | 1161 | "\n", |
|
1160 | 1162 | "# make the shaded region\n", |
|
1161 | 1163 | "ix = arange(a, b, 0.01)\n", |
|
1162 | 1164 | "iy = func(ix)\n", |
|
1163 | 1165 | "verts = [(a,0)] + zip(ix,iy) + [(b,0)]\n", |
|
1164 | 1166 | "poly = Polygon(verts, facecolor='0.8', edgecolor='k')\n", |
|
1165 | 1167 | "ax.add_patch(poly)\n", |
|
1166 | 1168 | "\n", |
|
1167 | 1169 | "text(0.5 * (a + b), 30,\n", |
|
1168 | 1170 | " r\"$\\int_a^b f(x)\\mathrm{d}x$\", horizontalalignment='center',\n", |
|
1169 | 1171 | " fontsize=20)\n", |
|
1170 | 1172 | "\n", |
|
1171 | 1173 | "axis([0,10, 0, 180])\n", |
|
1172 | 1174 | "figtext(0.9, 0.05, 'x')\n", |
|
1173 | 1175 | "figtext(0.1, 0.9, 'y')\n", |
|
1174 | 1176 | "ax.set_xticks((a,b))\n", |
|
1175 | 1177 | "ax.set_xticklabels(('a','b'))\n", |
|
1176 | 1178 | "ax.set_yticks([])\n", |
|
1177 | 1179 | "show()\n" |
|
1178 | 1180 | ], |
|
1179 | 1181 | "language": "python", |
|
1180 | 1182 | "metadata": {}, |
|
1181 | 1183 | "outputs": [ |
|
1182 | 1184 | { |
|
1183 | 1185 | "output_type": "display_data", |
|
1184 | 1186 | "png": "iVBORw0KGgoAAAANSUhEUgAAAV0AAAD5CAYAAACEcub7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl0VPX5x/H3ZN9JkLAkASMYoiTIvoqgxRU3/LmgBVRq\nXVHEVqFq0UiVRVwDatWjiBZcTottpYhSUBQw7ARIIAsQQljDEkJ2MjO/PwYoSMg6M3fu5PM6h2NJ\nZub7VOHhw3O/93stdrvdjoiIuIUPwPPPP09qaqrRtYiIeD2L1Wq1d+7cmTVr1hAVFWV0PSIiXs3n\n+++/p2fPnmq4IiJu4FtdXZ0yZswYLr74YqNrERHxepZOnTrZc3JysFgsRtciIuL1fO666y41XBER\nN7Hk5ubaO3XqVPM31YxFRBrlfLtxLbXt07VYLOd9Y3OTkpJCSkqK0WWISB3c9Xt19Wq4+27IzQUf\nn7O/V1vv9KnxqyIiUqu//hUefvjchlsXP9eUIyLivY4ehfnzITu74e9V0q2nK6+80ugSRKQe3PF7\n9bPP4IYboHXrhr9XM10RkQaw2yEpCd57D4YMqfk1mumKiDjJkiXg6wuDBzfu/Wq6IiINkJoK48ZB\nY3fUarwgIlJP27dD//6waxeEhJz/dRoviIg4waxZ8MADtTfcuijpiojUw/HjEB8PGzZAhw61v1ZJ\nV0SkiT79FK66qu6GWxfdHCEiUgebDWbOhA8/bPpnKemKiNTh++8hOBgGDWr6Z6npiojUoanbxM6k\nC2kiIrXIyoIrroD8fAgKqt97dCFNRKSR3ngDHnmk/g23Lkq6IiLncfAgJCY60m5DDrdR0hURaYRZ\ns2DEiMadJnY+SroiIjUoLXXcDLFiBXTu3LD3KumKiDTQJ584tog1tOHWRUlXRORXrFZHs/3sMxg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
1185 | 1187 | } |
|
1186 | 1188 | ], |
|
1187 | 1189 | "prompt_number": 16 |
|
1188 | 1190 | } |
|
1189 | 1191 | ], |
|
1190 | 1192 | "metadata": {} |
|
1191 | 1193 | } |
|
1192 | 1194 | ] |
|
1193 | 1195 | } |
General Comments 0
You need to be logged in to leave comments.
Login now