Skip to content
Snippets Groups Projects
Commit 76b21002 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Separate semilogx and TPR options in ROC plots

parent a4f96c14
Branches
Tags
1 merge request!65Separate semilogx and TPR options in ROC plots
Pipeline #36092 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment