import numpy as np
import matplotlib.pyplot as plt
mu = 100 #mean of distribution
sigma = 20 # standard deviation of distribution
x = mu + sigma * np.random.randn(2000)
plt.hist(x,bins=50,color=‘green’,normed=False,edgecolor=‘k’)
plt.show()
import numpy as np
import matplotlib.pyplot as plt
mu = 100 #mean of distribution
sigma = 20 # standard deviation of distribution
x = mu + sigma * np.random.randn(2000)
plt.hist(x,bins=50,color=‘green’,normed=False,edgecolor=‘k’)
plt.show()