implemented python string formatters for ScalarFormatterLocator