Change \mu to \textmu · Issue #15 · ppinard/matplotlib-scalebar (original) (raw)

Hey,

nice package!
One thing came to my mind using it: The \mu for micrometer is of italic type which is not correct in my opinion.

You could change:
latexrepr = '$\\mu$m'
to
latexrepr = '$\\mathrm{\\mu}$m'

in dimensions.py, line 88.

Best,
SJF