aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-06-04 15:52:21 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-06-04 16:19:58 +0200
commit98fc40707ee0d7442e00dd78b6be252d1a88228c (patch)
tree1200a4c90c0c59bb6cc68ed0c3c44a712404e1e2
parenteeded39923a35b67dac1185eed5e8628c3a57156 (diff)
downloadallocbench-98fc40707ee0d7442e00dd78b6be252d1a88228c.tar.gz
allocbench-98fc40707ee0d7442e00dd78b6be252d1a88228c.zip
[plots.py] support python 3.7 syntax
-rw-r--r--allocbench/plots.py5
1 files 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 = {}