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

Method contains_point

lib/matplotlib/axes/_base.py:4645–4650  ·  view source on GitHub ↗

Return whether *point* (pair of pixel coordinates) is inside the Axes patch.

(self, point)

Source from the content-addressed store, hash-verified

4643 return self.patch.contains(mouseevent)
4644
4645 def contains_point(self, point):
4646 """
4647 Return whether *point* (pair of pixel coordinates) is inside the Axes
4648 patch.
4649 """
4650 return self.patch.contains_point(point, radius=1.0)
4651
4652 def get_default_bbox_extra_artists(self):
4653 """

Callers 3

tri_contains_pointFunction · 0.45
test_contains_pointFunction · 0.45

Calls

no outgoing calls

Tested by 3

tri_contains_pointFunction · 0.36
test_contains_pointFunction · 0.36