MCPcopy Create free account
hub / github.com/ipython/ipython / _repr_latex_

Method _repr_latex_

IPython/lib/display.py:651–654  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

649 return style + highlight(self.data, self._get_lexer(), fmt)
650
651 def _repr_latex_(self):
652 from pygments import highlight
653 from pygments.formatters import LatexFormatter
654 return highlight(self.data, self._get_lexer(), LatexFormatter())

Callers

nothing calls this directly

Calls 2

_get_lexerMethod · 0.95
LatexFormatterClass · 0.90

Tested by

no test coverage detected