In [1]:
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
Learn how to use Matplotlib's plt.scatter function to make a 2d scatter plot.
np.random.randn.
In [2]:
np.random.randn
plt.scatter
Out[2]:
Learn how to use Matplotlib's plt.hist function to make a 1d histogram.
np.random.randn.
In [22]:
q = np.random.randn(2,10)
q
Out[22]:
In [23]:
plt.hist(q[:,0],q[:,1])
Out[23]:
In [ ]: