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

Method get_cursor_data

lib/matplotlib/collections.py:2589–2593  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

2587 self.stale = False
2588
2589 def get_cursor_data(self, event):
2590 contained, info = self.contains(event)
2591 if contained and self.get_array() is not None:
2592 return self.get_array().ravel()[info["ind"]]
2593 return None
2594
2595
2596class PolyQuadMesh(_MeshData, PolyCollection):

Callers

nothing calls this directly

Calls 2

get_arrayMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected