Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
test_transformedbbox_contains
Function · 0.95
Calls
3
contains
Method · 0.45
transform
Method · 0.45
inverted
Method · 0.45
Tested by
1
test_transformedbbox_contains
Function · 0.76