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 1.2k times
7
2 Answers
2
The plus minus sign in LaTeX is \pm. r'$\mu \pm \sigma$'
should work.

Vinícius Figueiredo
- 6,300
- 3
- 25
- 44