Following this StackOverflow discussion, I can use raw string and latex to get μ+σ from r'$\mu$' + '+' + r'$\sigma$'. How can I write μ ± σ as a legend in a matplotlib plot?
Asked
Active
Viewed 8,633 times
6
2 Answers
1
The plus minus sign in LaTeX is \pm. r'$\mu \pm \sigma$' should work.
Vinícius Figueiredo
- 5,942
- 3
- 21
- 41