(self)
| 3486 | # this controls the title of the session history chart. |
| 3487 | class 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 = '' |
nothing calls this directly
no test coverage detected