Matplotlib writing '±' in plot

matplotlib, python

Solution

The text is `r'$\mu \pm \sigma$'`.

Problem

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?

Original source

Related problems