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

Method contains

lib/matplotlib/transforms.py:1198–1200  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

1196 return points
1197
1198 def contains(self, x, y):
1199 # Docstring inherited.
1200 return self._bbox.contains(*self._transform.inverted().transform((x, y)))
1201
1202 def fully_contains(self, x, y):
1203 # Docstring inherited.

Callers 1

Calls 3

containsMethod · 0.45
transformMethod · 0.45
invertedMethod · 0.45

Tested by 1