MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / frac

Method frac

lib/matplotlib/_mathtext.py:2842–2845  ·  view source on GitHub ↗
(self, toks: ParseResults)

Source from the content-addressed store, hash-verified

2840 toks["num"], toks["den"])
2841
2842 def frac(self, toks: ParseResults) -> T.Any:
2843 return self._genfrac(
2844 "", "", self.get_state().get_current_underline_thickness(),
2845 self._MathStyle.TEXTSTYLE, toks["num"], toks["den"])
2846
2847 def dfrac(self, toks: ParseResults) -> T.Any:
2848 return self._genfrac(

Callers

nothing calls this directly

Calls 3

_genfracMethod · 0.95
get_stateMethod · 0.95

Tested by

no test coverage detected