

{line-numbers=off}
~~~~~~~~
from pylab import *
x = linspace(0, 2*pi, 1000)
~~~~~~~~




{line-numbers=off}
~~~~~~~~
p = plot(x, sin(x))
~~~~~~~~

![](figures/formatters_test_figure2_1.png)



![Sinc function](figures/formatters_test_figure3_1.png)



{line-numbers=off}
~~~~~~~~
p = plot(x, sinc(x))
~~~~~~~~

![Sinc function](figures/formatters_test_sinc_1.png)



{line-numbers=off}
~~~~~~~~
p = plot(x, sinc(x))
~~~~~~~~

![Sinc function](figures/formatters_test_sinc_1.png)



{line-numbers=off}
~~~~~~~~
p = plot(x, sinc(x))
~~~~~~~~

![Sinc function](figures/formatters_test_figure6_1.png)



{line-numbers=off}
~~~~~~~~
p = plot(x, sinc(x))
~~~~~~~~

![Sinc function](figures/formatters_test_figure7_1.png)



{line-numbers=off}
~~~~~~~~
for i in range(5):
  figure()
  p = plot(x, sinc(x*i))
~~~~~~~~

![Sinc function](figures/formatters_test_figure8_1.png)



{line-numbers=off}
~~~~~~~~
for i in range(5):
  figure()
  p = plot(x, sinc(x*i))
~~~~~~~~

![](figures/formatters_test_figure9_1.png)
![](figures/formatters_test_figure9_2.png)
![](figures/formatters_test_figure9_3.png)
![](figures/formatters_test_figure9_4.png)
![](figures/formatters_test_figure9_5.png)



{line-numbers=off}
~~~~~~~~
print("Verbatim output")
~~~~~~~~

{line-numbers=off}
~~~~~~~~
Verbatim output
~~~~~~~~




{line-numbers=off}
~~~~~~~~
print("Hidden results!")
~~~~~~~~



```


{line-numbers=off}
~~~~~~~~
No echo!
~~~~~~~~





No echo!



{line-numbers=off}
~~~~~~~~
for i in range(10):
  print(i)
~~~~~~~~

{line-numbers=off}
~~~~~~~~
0
1
2
3
4
5
6
7
8
9
~~~~~~~~




{line-numbers=off}
~~~~~~~~
print("pweave " * 20)
~~~~~~~~

{line-numbers=off}
~~~~~~~~
pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave
pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave
~~~~~~~~




{line-numbers=off}
~~~~~~~~
print("pweave " * 20)
~~~~~~~~

{line-numbers=off}
~~~~~~~~
pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave
~~~~~~~~




{line-numbers=off}
~~~~~~~~
print("pweave " * 20)
~~~~~~~~

{line-numbers=off}
~~~~~~~~
pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave
~~~~~~~~




{line-numbers=off}
~~~~~~~~
print("pweave " * 20)
~~~~~~~~

{line-numbers=off}
~~~~~~~~
pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave
pweave pweave pweave pweave pweave pweave pweave pweave pweave pweave
~~~~~~~~


