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

Method push_state

lib/matplotlib/_mathtext.py:2322–2324  ·  view source on GitHub ↗

Push a new `State` onto the stack, copying the current state.

(self)

Source from the content-addressed store, hash-verified

2320 self._state_stack.pop()
2321
2322 def push_state(self) -> None:
2323 """Push a new `State` onto the stack, copying the current state."""
2324 self._state_stack.append(self.get_state().copy())
2325
2326 def main(self, toks: ParseResults) -> list[Hlist]:
2327 return [Hlist(toks.as_list())]

Callers 5

non_mathMethod · 0.95
textMethod · 0.95
operatornameMethod · 0.95
start_groupMethod · 0.95
boldsymbolMethod · 0.95

Calls 2

get_stateMethod · 0.95
copyMethod · 0.45

Tested by

no test coverage detected