Commit 76b21002 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Separate semilogx and TPR options in ROC plots

parent a4f96c14
Pipeline #36092 passed with stage
in 11 minutes and 9 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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment