ipython
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
See it’s not that hard…
a = np.array([1,2,3,4,5])
print a*2
[ 2 4 6 8 10]
plt.plot(a)
[<matplotlib.lines.Line2D at 0x10de00150>]
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
See it’s not that hard…
a = np.array([1,2,3,4,5])
print a*2
[ 2 4 6 8 10]
plt.plot(a)
[<matplotlib.lines.Line2D at 0x10de00150>]