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

Method genfrac

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

Source from the content-addressed store, hash-verified

2834 return self._MathStyle(int(toks["style_literal"]))
2835
2836 def genfrac(self, toks: ParseResults) -> T.Any:
2837 return self._genfrac(
2838 toks.get("ldelim", ""), toks.get("rdelim", ""),
2839 toks["rulesize"], toks.get("style", self._MathStyle.TEXTSTYLE),
2840 toks["num"], toks["den"])
2841
2842 def frac(self, toks: ParseResults) -> T.Any:
2843 return self._genfrac(

Callers

nothing calls this directly

Calls 2

_genfracMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected