我在matplotlib教程中读到了这句话:
n, bins, patches = plt.hist(x, 50, normed=1, facecolor='g', alpha=0.75)
我想知道n、bins和patches是什么。在这里,n是每个bin中数据点的数量数组,bins是用于直方图的bin边缘数组,而patches是每个bin的Rectangle实例。