有人可以告诉我如何通过以下代码从astropy.visualization模块中用hist()函数替换matplotlib hist()函数:
Hist_SNR = plt.figure()
Hist_SNR, ax = plt.subplots(3, 1, sharex=True)
ax[0].hist(data1['SNR'], bins=10, normed=False)
ax[1].hist(data2['SNR'], bins=10, normed=False)
ax[2].hist(data3['SNR'], bins=10, normed=False)
plt.show();