Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/matplotlib/matplotlib
/ contains
Method
contains
galleries/examples/event_handling/pong_sgskip.py:65–66 ·
view source on GitHub ↗
(self, loc)
Source
from the content-addressed store, hash-verified
63
self.signy = -1.0
64
65
def
contains(self, loc):
66
return
self.disp.get_bbox().contains(loc.x, loc.y)
67
68
69
class
Puck:
Callers
5
mouseDown
Method · 0.45
on_press
Method · 0.45
update
Method · 0.45
check_select
Method · 0.45
set_hover
Method · 0.45
Calls
1
get_bbox
Method · 0.45
Tested by
no test coverage detected