O'Reilly logo
  • Som DUBEY thinks this is interesting:

>>> plt.text(1, .7, r'$\mu=' + str(np.round(np.mean(n), 2)) + ' $')

From

Cover of Mastering Python for Data Science

Note

>>>plt.text (1,.7, r '$\mu = $' + str(np.round(np.mean(n), 2)) )