MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / __init__

Method __init__

brainworkshop.py:3313–3320  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3311# this controls the statistics which display upon completion of a session.
3312class AnalysisLabel:
3313 def __init__(self):
3314 self.label = pyglet.text.Label(
3315 '',
3316 font_size=calc_fontsize(14),
3317 color=cfg.COLOR_TEXT,
3318 x=width_center(), y=from_bottom_edge(92),
3319 anchor_x='center', anchor_y='center', batch=batch)
3320 self.update()
3321
3322 def update(self, skip=False):
3323 if mode.started or mode.session_number == 0 or skip:

Callers

nothing calls this directly

Calls 4

updateMethod · 0.95
calc_fontsizeFunction · 0.85
width_centerFunction · 0.85
from_bottom_edgeFunction · 0.85

Tested by

no test coverage detected