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

Method __init__

brainworkshop.py:3488–3495  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3486# this controls the title of the session history chart.
3487class AverageLabel:
3488 def __init__(self):
3489 self.label = pyglet.text.Label(
3490 '',
3491 font_size=calc_fontsize(10), bold=False,
3492 color=cfg.COLOR_TEXT,
3493 x=from_right_edge(30), y=from_top_edge(70),
3494 anchor_x='right', anchor_y='top', batch=batch)
3495 self.update()
3496 def update(self):
3497 if mode.started or CLINICAL_MODE:
3498 self.label.text = ''

Callers

nothing calls this directly

Calls 4

updateMethod · 0.95
calc_fontsizeFunction · 0.85
from_right_edgeFunction · 0.85
from_top_edgeFunction · 0.85

Tested by

no test coverage detected