summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-06-27 08:47:04 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-06-27 08:47:04 +0200
commit54886307daed58eee704c88f972cb3b578366b95 (patch)
treedfd9f1c071c08e12ab8217625395b51551074508 /lib
parent702dd499ea48e78db053121261cd9cd3c345354c (diff)
fix UnboundLocalError. Yay for Python variable scoping.
Diffstat (limited to 'lib')
-rw-r--r--lib/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 0daecb6..d2c9840 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -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",