test.ipynb
219 lines
| 23.6 KiB
| text/plain
|
TextLexer
/ tests / test.ipynb
H1¶
H2¶
H3¶
H4¶
H5¶
H6¶
A bit of text, with important things:
- and
- more that are boldface, as well as
verbatim
.
Using markdown hyperlinks for ipython.
In [1]:
f = figure()
plot([1,2,3])
display(f)
In [2]:
# multiline input
x = 1
y = 2
In [3]:
1+2
Out[3]:
In [4]:
print 'hello world'
$e^{i\pi} + 1 = 0$
In [5]:
import sys
m = 'A message'
print m, 'to stdout'
print >> sys.stderr, m, 'to stderr'
m
Out[5]:
In [6]:
# a traceback
1/0
In [ ]:
# This is intended to be a cell with missing prompt number, so don't execute it!