From bbb77327d4e64b7e36ba4dcc4297bcf41299b0f7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 7 Jul 2020 14:18:11 +0200 Subject: [plots.py] fix table definition of write_best_doublearg_tex_table --- allocbench/plots.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/allocbench/plots.py b/allocbench/plots.py index 6d24b04..a7c3fd2 100644 --- a/allocbench/plots.py +++ b/allocbench/plots.py @@ -614,9 +614,10 @@ def write_best_doublearg_tex_table(bench, best.append(allocator) row.append(f"{best[0]}: {best_val:.3f}") - cell_text.append(" & ".join(row)) + row_str = " & ".join(row) + cell_text.append(f"{arg_value} & {row_str}") - table_layout = " l |" * len(headers) + table_layout = " l |" * (len(headers) + 1) header_line = " & ".join([str(x) for x in headers]) cell_text = "\\\\\n".join(cell_text) -- cgit v1.2.3