Commit 5382fd43 authored by Anjith GEORGE's avatar Anjith GEORGE

fix for wrong Axis label with -nG option

parent e1c249bf
Pipeline #27673 passed with stage
in 12 minutes and 44 seconds
'''Runs error analysis on score sets, outputs metrics and plots'''
import bob.measure.script.figure as measure_figure
......@@ -46,7 +47,9 @@ 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'
self._y_label = ctx.meta.get('y_label') or '1 - BPCER'
default_y_label = '1-BPCER' if self._semilogx \
else 'BPCER'
self._y_label = ctx.meta.get('y_label') or default_y_label
class Det(bio_figure.Det):
......
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