Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6d78a5 + 41fc69d commit 736ac0cCopy full SHA for 736ac0c
1 file changed
lib/matplotlib/ticker.py
@@ -411,6 +411,10 @@ class FormatStrFormatter(Formatter):
411
412
The format string should have a single variable format (%) in it.
413
It will be applied to the value (not the position) of the tick.
414
+
415
+ Negative numeric values will use a dash not a unicode minus,
416
+ use mathtext to get a unicode minus by wrappping the format specifier
417
+ with $ (e.g. "$%g$").
418
"""
419
def __init__(self, fmt):
420
self.fmt = fmt
0 commit comments