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

Method __init__

galleries/examples/event_handling/pong_sgskip.py:70–74  ·  view source on GitHub ↗
(self, disp, pad, field)

Source from the content-addressed store, hash-verified

68
69class Puck:
70 def __init__(self, disp, pad, field):
71 self.vmax = .2
72 self.disp = disp
73 self.field = field
74 self._reset(pad)
75
76 def _reset(self, pad):
77 self.x = pad.x + pad.xoffset

Callers

nothing calls this directly

Calls 1

_resetMethod · 0.95

Tested by

no test coverage detected