Presently, there's no direct way to do this. matplotlib uses the
standard Python (derived from C) number formatting which uses a hyphen.
There are a couple of workarounds, however.
You can set a custom tick formatter by providing a function and wrapping
it in a FuncFormatter object. (See att
Forgot to attach example. Sorry.
Michael Droettboom wrote:
Presently, there's no direct way to do this. matplotlib uses the
standard Python (derived from C) number formatting which uses a
hyphen. There are a couple of workarounds, however.
You can set a custom tick formatter by providing a
Matplotlib currently uses the "hyphen" character instead of a "minus
sign" when printing negative numbers in plots.
While these two characters are traditionally not distinguished in
monospaced fonts, there is a big difference in proportional fonts. A
hyphen (Unicode character 0x002d) is very short