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

Method _repr_latex_

IPython/core/display.py:740–745  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

738class Math(TextDisplayObject):
739
740 def _repr_latex_(self):
741 s = r"$\displaystyle %s$" % self.data.strip('$')
742 if self.metadata:
743 return s, deepcopy(self.metadata)
744 else:
745 return s
746
747
748class Latex(TextDisplayObject):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected