accelmo.dashboard.plot¶
A log-scale line plot drawn with braille characters.
- accelmo.dashboard.plot.DOT_BITS = ((1, 2, 4, 64), (8, 16, 32, 128))¶
Braille dot bit for (dot column in the cell, dot row in the cell).
- class accelmo.dashboard.plot.Series(values, style)[source]¶
Bases:
objectValues per epoch (
nanor non-positive = no point) and the style they are drawn in.- Parameters:
values (Sequence[float | None])
style (str)
- values: Sequence[float | None]¶
- style: str¶
- accelmo.dashboard.plot.log_plot(series, width, height, *, reference=1.0)[source]¶
Draw
serieson a log y-axis,widthxheightcells, oneTextper row.Later series are drawn over earlier ones. A dashed line is drawn at
referencewhen it lies inside the data’s range. The last row is the x axis.- Return type:
list[Text]- Parameters:
series (Sequence[Series])
width (int)
height (int)
reference (float | None)