python 添加图例
Sigma (𝜎) is very often used greek mathematical letters and has a higher repetition in probability. In this article, we are going to add 𝜎 using a command in matplotlib.
Sigma(𝜎)是希腊数学字母中经常使用的字母,其重复率更高。 在这篇文章中,我们将添加σ在matplotlib使用命令。
plt.text(3, 0.4, r'$\sigma=100$')
#Adding 𝜎 as text
plt.title('Errorbar with 'r'$\sigma=100$')
#Adding 𝜎 in title of the figure