'Replace hyphens with a unicode minus.'

def fix_minus(self, s):

    if (rcParams[u'text.usetex'] or (not rcParams[u'axes.unicode_minus'])):
        return s
    else:
        return s.replace(u'-', u'\u2212')
