def __call__(self, x, pos=<NUM_LIT:0>):
ind = int(round(x))<EOL>if ind>=len(self.t) or ind<=<NUM_LIT:0>: return '<STR_LIT>'<EOL>dt = num2date(self.t[ind], self.tz)<EOL>return cbook.unicode_safe(dt.strftime(self.fmt))<EOL>
Return the label for time *x* at position *pos*