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

Method _contains

lib/matplotlib/widgets.py:3865–3867  ·  view source on GitHub ↗

Return True if event is within the patch.

(self, event)

Source from the content-addressed store, hash-verified

3863 self._active_handle = self._edge_order[e_idx]
3864
3865 def _contains(self, event):
3866 """Return True if event is within the patch."""
3867 return self._selection_artist.contains(event, radius=0)[0]
3868
3869 @property
3870 def geometry(self):

Callers 1

_set_active_handleMethod · 0.95

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected