python 直方图

import matplotlib.pyplot as plt
import numpy as np
pop = np.random.randint(0,100,100)
pop
n,bins,patches = plt.hist(pop,bins=20)
plt.show()

 

posted @ 2020-06-13 16:02  逐梦无惧_数据分析  阅读(172)  评论(0)    收藏  举报