The language used to do formatting is called Markdown. You can do a lot of formatting:
Tim's shopping list:
In [ ]:
# Taken from https://github.com/fperez/talk-1504-boulder/blob/master/QuickTour.ipynb
%matplotlib inline
import matplotlib.pyplot as plt
from scipy import special
import numpy as np
def plot_bessel(xmax=20, nmin=0, nmax=10, nstep=3):
x = np.linspace(0, xmax, 200)
f, ax = plt.subplots()
for n in range(nmin, nmax+1, nstep):
plt.plot(x, special.jn(n, x), label=r'$J_{%i(x)}$' % n)
plt.grid()
plt.legend()
plt.title('Bessel Functions')
plot_bessel()
In [ ]:
from IPython.html.widgets import interact
interact(plot_bessel,
xmax=(10,100.),
nmin=(0, 10),
nmax=(10, 30),
nstep=(1,5));