diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-06-27 08:47:04 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-06-27 08:47:04 +0200 |
commit | 54886307daed58eee704c88f972cb3b578366b95 (patch) | |
tree | dfd9f1c071c08e12ab8217625395b51551074508 /lib | |
parent | 702dd499ea48e78db053121261cd9cd3c345354c (diff) |
fix UnboundLocalError. Yay for Python variable scoping.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -429,7 +429,7 @@ def export_json_unparam(model, filename): def boxplot_param(args, model): - import dfatool.plotter + import dfatool.plotter as dp title = None param_is_filtered = dict() @@ -460,7 +460,7 @@ def boxplot_param(args, model): ) ) for attribute in attr_names: - dfatool.plotter.boxplot( + dp.boxplot( param_desc, list(map(lambda k: by_param[(name, k)][attribute], param_keys)), output=f"{args.boxplot_param}{name}-{attribute}.pdf", |