Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pad.base
Commits
5382fd43
Commit
5382fd43
authored
Mar 01, 2019
by
Anjith GEORGE
Browse files
fix for wrong Axis label with -nG option
parent
e1c249bf
Pipeline
#27673
passed with stage
in 12 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/script/pad_figure.py
View file @
5382fd43
'''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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment