“Plt.hist Bins” Ответ

Plt.hist с использованием корзин

counts, bins = np.histogram(data)
plt.hist(bins[:-1], bins, weights=counts)
Perro Fiel

Plt.hist Bins

matplotlib.pyplot.hist(x, bins=None, range=None, density=False, weights=None, cumulative=False, bottom=None, histtype='bar', align='mid', orientation='vertical', rwidth=None, log=False, color=None, label=None, stacked=False, *, data=None, **kwargs)
Proud Panda

Ответы похожие на “Plt.hist Bins”

Вопросы похожие на “Plt.hist Bins”

Смотреть популярные ответы по языку

Смотреть другие языки программирования