2018-10-24から1日間の記事一覧
weights = np.ones_like(data)/(len(data)) plt.hist(data,bins=10,weights=weights) plt.show() 【参考】 python - plotting histograms whose bar heights sum to 1 in matplotlib - Stack Overflow
weights = np.ones_like(data)/(len(data)) plt.hist(data,bins=10,weights=weights) plt.show() 【参考】 python - plotting histograms whose bar heights sum to 1 in matplotlib - Stack Overflow