%run talktools %matplotlib inline from IPython.display import IFrame IFrame("http://nbviewer.ipython.org/github/brianckeegan/Bechdel/blob/master/Bechdel_test.ipynb", 800, 600) def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b for i, f in enumerate(fibonacci()): print f, if i > 35: break import matplotlib.pyplot as plt import numpy as np x, y = np.random.normal(size=(2, 100)) s, c = np.random.random(size=(2, 100)) plt.scatter(x, y, c=c, s=1000 * s, alpha=0.3); # %load http://matplotlib.org/mpl_examples/mplot3d/bars3d_demo.py from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax = fig.add_subplot(111, projection='3d') for c, z in zip(['r', 'g', 'b', 'y'], [30, 20, 10, 0]): xs = np.arange(20) ys = np.random.rand(20) # You can provide either a single color or an array. To demonstrate this, # the first bar of each set will be colored cyan. cs = [c] * len(xs) cs[0] = 'c' ax.bar(xs, ys, zs=z, zdir='y', color=cs, alpha=0.8) ax.set_xlabel('X') ax.set_ylabel('Y') ax.set_zlabel('Z') plt.show() from IPython.display import IFrame IFrame("http://nbviewer.ipython.org", 800, 600) IFrame("http://jakevdp.github.io/blog/2013/08/28/understanding-the-fft/", 800, 600) from intfact import factorizer factorizer()