You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use \N{MICRO SIGN} instead of \N{GREEK SMALL LETTER MU} in EngFormatter.
This is semantically more correct, and, more importantly, is covered by
the pdf 14 core fonts: after
```
from matplotlib.ticker import EngFormatter
from pylab import *
rcParams["pdf.use14corefonts"] = True
fig, ax = plt.subplots()
ax.semilogx([1e-6, 1e-5], [0, 1])
ax.xaxis.set_major_formatter(EngFormatter(unit="s"))
savefig("/tmp/test.pdf")
```
we previously got a pdf where the µ signs were replaced by question
marks (actually this happens at the encoding to cp1252 stage), whereas
with the fix, the µ signs appear correctly.
0 commit comments