def __call__(self, x):
if len(x) == <NUM_LIT:0>:<EOL><INDENT>return []<EOL><DEDENT>_precision = precision(x)<EOL>x = round_any(x, _precision / <NUM_LIT:100>) * <NUM_LIT:100><EOL>if _precision > <NUM_LIT:1>:<EOL><INDENT>digits = <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>digits = abs(int(np.log10(_precision)))<EOL><DEDENT>formatter = currency_format(prefix='<STR_LIT>',<EOL>suffix='<STR_LIT:%>',<EOL>digits=digits,<EOL>big_mark=self.big_mark)<EOL>labels = formatter(x)<EOL>pattern = re.compile(r'<STR_LIT>')<EOL>if all(pattern.search(val) for val in labels):<EOL><INDENT>labels = [pattern.sub('<STR_LIT:%>', val) for val in labels]<EOL><DEDENT>return labels<EOL>
Format a sequence of inputs

Parameters
----------
x : array
    Input

Returns
-------
out : list
    List of strings.