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
1852655d
Commit
1852655d
authored
Jun 26, 2018
by
Theophile GENTILHOMME
Browse files
[vuln_commands,test_commands] legends options changed to titles option
for histograms.
parent
95f45dac
Pipeline
#21335
canceled with stage
in 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/script/vuln_commands.py
View file @
1852655d
...
...
@@ -324,7 +324,7 @@ def epsc(ctx, scores, criteria, var_param, fixed_param, three_d, sampling,
'If False, will annotate the plots hypothetically, instead '
'of with real data values of the calculated error rates.'
,
True
)
@
common_options
.
legend
s_option
()
@
common_options
.
title
s_option
()
@
common_options
.
const_layout_option
()
@
common_options
.
figsize_option
(
dflt
=
None
)
@
common_options
.
subplot_option
()
...
...
bob/pad/base/test/test_commands.py
View file @
1852655d
...
...
@@ -110,7 +110,7 @@ def test_hist_vuln():
with
runner
.
isolated_filesystem
():
result
=
runner
.
invoke
(
vuln_commands
.
hist
,
[
'--criterion'
,
'eer'
,
'--output'
,
'HISTO.pdf'
,
'-b'
,
'30'
,
'HISTO.pdf'
,
'-b'
,
'30'
,
'-ts'
,
'A,B'
,
licit_dev
,
licit_test
])
assert
result
.
exit_code
==
0
,
(
result
.
exit_code
,
result
.
output
)
...
...
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