From 98fc40707ee0d7442e00dd78b6be252d1a88228c Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 4 Jun 2020 15:52:21 +0200 Subject: [plots.py] support python 3.7 syntax --- allocbench/plots.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/allocbench/plots.py b/allocbench/plots.py index b5f651f..b266ce2 100644 --- a/allocbench/plots.py +++ b/allocbench/plots.py @@ -390,8 +390,9 @@ def plot(bench, [f'{k}={v}' for k, v in fixed_part.items()]) fig_label = f'{bench.name}.{fixed_part_str}.{file_postfix}' - cur_plot_options = _create_plot_options(plot_type, **plot_options - or {}) + karg_plot_option = plot_options or {} + cur_plot_options = _create_plot_options(plot_type, + **karg_plot_option) cur_fig_options = {} -- cgit v1.2.3