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

Method start_group

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

Source from the content-addressed store, hash-verified

2536 return Hlist(hlist_list)
2537
2538 def start_group(self, toks: ParseResults) -> T.Any:
2539 self.push_state()
2540 # Deal with LaTeX-style font tokens
2541 if toks.get("font"):
2542 self.get_state().font = toks.get("font")
2543 return []
2544
2545 def group(self, toks: ParseResults) -> T.Any:
2546 grp = Hlist(toks.get("group", []))

Callers

nothing calls this directly

Calls 3

push_stateMethod · 0.95
get_stateMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected