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

Method _validate_state

lib/matplotlib/widgets.py:2633–2638  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

2631 self._handle_props.update(handle_props)
2632
2633 def _validate_state(self, state):
2634 supported_state = [
2635 key for key, value in self._state_modifier_keys.items()
2636 if key != 'clear' and value != 'not-applicable'
2637 ]
2638 _api.check_in_list(supported_state, state=state)
2639
2640 def add_state(self, state):
2641 """

Callers 2

add_stateMethod · 0.95
remove_stateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected