June
22nd,
2016
Combine IPython with babel
I just finish experiment to combine the ipython with the babel in the org-mode. It was the most fantastic tool that I have ever used. Here are some examples.
import all matplotlib and numpy
%matplotlib inline import matplotlib.pyplot as plt import numpy as np
Use numpy to do some calculation
[x for x in range(10)]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Draw some picture with matplotlib
plt.hist(np.random.randn(20000), bins=200)