if groups and len(groups.groups()) == 3:
if str(groups.group(3)) == \
plot["reference"]["include"]:
- vals[c][n]["vals_c"].append(result)
+ vals[c][n]["vals_r"].append(result)
elif str(groups.group(3)) == \
plot["compare"]["include"]:
- vals[c][n]["vals_r"].append(result)
+ vals[c][n]["vals_c"].append(result)
break
if not vals:
logging.error("No data.")
nr_c=vals[txt_chains[c]][txt_nodes[n]]["nr_c"]
) if data_c[c][n] is not None else "Test Failed",
text_diff=text_diff.format(
+ title_r=plot["reference"]["name"],
+ title_c=plot["compare"]["name"],
diff=diff[c][n]
) if diff[c][n] is not None else ""
))
name="Diff",
visible=False,
colorbar=dict(
- title="Relative difference [%]",
+ title="Relative Difference {name_c} vs. {name_r} [%]".
+ format(name_c=plot["compare"]["name"],
+ name_r=plot["reference"]["name"]),
titleside="right",
titlefont=dict(
size=16