In [1]:
import numpy as np
print(np.exp(1.0))
The above is a Python code for the following:
In [2]:
print(np.log(1.0))
In [3]:
%matplotlib inline
Matplotlib:
In [4]:
import matplotlib.pylab as plt
plt.plot(range(100), [x * x for x in range(100)], 'k-')
plt.show()