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

Method push_state

site-packages/matplotlib/mathtext.py:2565–2570  ·  view source on GitHub ↗

Push a new :class:`State` onto the stack which is just a copy of the current state.

(self)

Source from the content-addressed store, hash-verified

2563 self._state_stack.pop()
2564
2565 def push_state(self):
2566 """
2567 Push a new :class:`State` onto the stack which is just a copy
2568 of the current state.
2569 """
2570 self._state_stack.append(self.get_state().copy())
2571
2572 def main(self, s, loc, toks):
2573 return [Hlist(toks)]

Callers 4

non_mathMethod · 0.95
functionMethod · 0.95
operatornameMethod · 0.95
start_groupMethod · 0.95

Calls 3

get_stateMethod · 0.95
appendMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected