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

Method set_handle_props

lib/matplotlib/widgets.py:2616–2631  ·  view source on GitHub ↗

Set the properties of the handles selector artist. See the *handle_props* argument in the selector docstring to know which properties are supported.

(self, **handle_props)

Source from the content-addressed store, hash-verified

2614 self.update()
2615
2616 def set_handle_props(self, **handle_props):
2617 """
2618 Set the properties of the handles selector artist. See the
2619 *handle_props* argument in the selector docstring to know which
2620 properties are supported.
2621 """
2622 if not hasattr(self, '_handles_artists'):
2623 raise NotImplementedError("This selector doesn't have handles.")
2624
2625 artist = self._handles_artists[0]
2626 handle_props = cbook.normalize_kwargs(handle_props, artist)
2627 for handle in self._handles_artists:
2628 handle.set(**handle_props)
2629 if self.useblit:
2630 self.update()
2631 self._handle_props.update(handle_props)
2632
2633 def _validate_state(self, state):
2634 supported_state = [

Calls 2

updateMethod · 0.95
setMethod · 0.45