MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / function

Method function

site-packages/matplotlib/mathtext.py:2766–2773  ·  view source on GitHub ↗
(self, s, loc, toks)

Source from the content-addressed store, hash-verified

2764 ])
2765
2766 def function(self, s, loc, toks):
2767 self.push_state()
2768 state = self.get_state()
2769 state.font = 'rm'
2770 hlist = Hlist([Char(c, state) for c in toks[0]])
2771 self.pop_state()
2772 hlist.function_name = toks[0]
2773 return hlist
2774
2775 def operatorname(self, s, loc, toks):
2776 self.push_state()

Callers

nothing calls this directly

Calls 5

push_stateMethod · 0.95
get_stateMethod · 0.95
pop_stateMethod · 0.95
HlistClass · 0.85
CharClass · 0.70

Tested by

no test coverage detected