if rcParams['text.usetex']: if not isDecade and
> self.labelOnlyBase: s = '' elif not isDecade: s =
> '%d$^\textnormal{%.2f}'% \(b, fx\) else: s =
> '%d^\\textnormal\{%d\}'% (b, self.nearest_long(fx))
We do want to check for usetex here, right, since this code will be
used with mathtext and usetex, and I don't think mathtext supports
textnormal.
JDH