I am trying to plot a histogram in python, and add text on the right ... plt.text(0.8, 0.9, s = 'mean = {0}'.format(round(np.mean(sample), 2)),transform=ax.
確定! 回上一頁