📅  最后修改于: 2022-03-11 14:46:28.686000             🧑  作者: Mango
x = np.random.randn(1000) # Generate random numbers
plt.hist(x, bins=20) # Select bin size
plt.hist(x, bins=range(-4, 5)) # Select range