(x, parens=False)
| 429 | |
| 430 | @staticmethod |
| 431 | def _repr_latex_scalar(x, parens=False): |
| 432 | # TODO: we're stuck with disabling math formatting until we handle |
| 433 | # exponents in this function |
| 434 | return fr'\text{{{pu.format_float(x, parens=parens)}}}' |
| 435 | |
| 436 | def _format_term(self, scalar_format: Callable, off: float, scale: float): |
| 437 | """ Format a single term in the expansion """ |