File size: 705 Bytes
6f423bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Real-chart evaluation set

Drop pairs of files here:

- `name.png` (or `.jpg`) — the chart image
- `name.csv` — hand-made ground truth in the plotscribe CSV layout (first column `x`
  or `category`, then one column per series; scatter: one row per point with only
  the owning series' column filled; stacked bars: segment values)

Optional `name.json` with axis ranges for error normalisation, e.g.
`{"kind": "line", "ylim": [0, 100], "xlim": [0, 10], "ylog": false}`.
`kind` is one of `line`, `bar`, `stacked_bar`, `scatter`.  Without it, ranges come
from the ground-truth data and the kind from the CSV layout.

Run: `python -m tests.eval_real` (add `--out eval_out/real` to keep debug overlays).