obspy.imaging.util.ObsPyAutoDateFormatter.fix_minus

static ObsPyAutoDateFormatter.fix_minus(s)

Some classes may want to replace a hyphen for minus with the proper unicode symbol (U+2212) for typographical correctness. This is a helper method to perform such a replacement when it is enabled via :rc:`axes.unicode_minus`.