José Abell's research blog


Testing IPython Notebook integration into Pelican

In this post I’ll make a small example meant to test the IPython notebook + Pelican integration thanks to the plugin created by danielfrg that can be found here.

Lets start out with some basic plotting!

In [1]:
x  = linspace(0,1,1000)
y = x**2*sin(6*pi*x)
plot(x,y)
Out[1]:
[<matplotlib.lines.Line2D at 0x2ff0d10>]

Looks like everything is working fine. Let’s try using XKCD plotting format! :)

In [3]:
xkcd()
plot(x,y+1)
xlabel("Abscissa")
ylabel("Ordinate")
Out[3]:
<matplotlib.text.Text at 0x3531590>

Cool! We’re going to do some serious blogging now.

In [ ]: