From edbc3989545ca7d74dc9f99593655b3d66eddd5f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 10 Jul 2020 18:27:53 +0200 Subject: [plots.py] remove useless comprehension --- allocbench/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allocbench/plots.py b/allocbench/plots.py index b29ef2b..a55f7e2 100644 --- a/allocbench/plots.py +++ b/allocbench/plots.py @@ -419,7 +419,7 @@ def plot(bench, fixed_args = [[(k, v) for v in args[k]] for k in args if k != loose_arg] for fixed_part_tuple in itertools.product(*fixed_args): - fixed_part = {k: v for k, v in fixed_part_tuple} + fixed_part = dict(fixed_part_tuple) fixed_part_str = ".".join( [f'{k}={v}' for k, v in fixed_part.items()]) -- cgit v1.2.3