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.
1 parent 1574b5e commit 2a796edCopy full SHA for 2a796ed
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