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

Method get_state

lib/matplotlib/_mathtext.py:2314–2316  ·  view source on GitHub ↗

Get the current `State` of the parser.

(self)

Source from the content-addressed store, hash-verified

2312 return T.cast(Hlist, result[0]) # Known return type from main.
2313
2314 def get_state(self) -> ParserState:
2315 """Get the current `State` of the parser."""
2316 return self._state_stack[-1]
2317
2318 def pop_state(self) -> None:
2319 """Pop a `State` off of the stack."""

Callers 15

push_stateMethod · 0.95
non_mathMethod · 0.95
textMethod · 0.95
_make_spaceMethod · 0.95
symbolMethod · 0.95
accentMethod · 0.95
operatornameMethod · 0.95
start_groupMethod · 0.95
fontMethod · 0.95
subsuperMethod · 0.95
_genfracMethod · 0.95
fracMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected