Commit 67a3c188 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Merge branch 'roc-semilogx-tpr' into 'master'

Separate semilogx and TPR options in ROC plots

See merge request !65
parents b885f84d 76b21002
Pipeline #36093 passed with stages
in 12 minutes and 46 seconds
......@@ -328,7 +328,7 @@ class Roc(bio_figure.Roc):
def __init__(self, ctx, scores, evaluation, func_load):
super(Roc, self).__init__(ctx, scores, evaluation, func_load)
self._x_label = ctx.meta.get("x_label") or "APCER"
default_y_label = "1-BPCER" if self._semilogx else "BPCER"
default_y_label = "1-BPCER" if self._tpr else "BPCER"
self._y_label = ctx.meta.get("y_label") or default_y_label
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment