Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.measure
Commits
88e40fa0
Commit
88e40fa0
authored
Apr 18, 2018
by
Theophile GENTILHOMME
Browse files
Details the summary for click options and add missing doc for two options
parent
bb1fd3aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
bob/measure/script/common_options.py
View file @
88e40fa0
...
...
@@ -109,6 +109,7 @@ def const_layout_option(dflt=True, **kwargs):
return
bool_option
(
'clayout'
,
'Y'
,
'(De)Activate constrained layout'
,
dflt
)
def
axes_val_option
(
dflt
=
None
,
**
kwargs
):
''' Option for setting min/max values on axes '''
return
list_float_option
(
name
=
'axlim'
,
short_name
=
'L'
,
desc
=
'min/max axes values separated by commas (min_x, max_x, min_y, max_y)'
,
...
...
@@ -116,6 +117,7 @@ def axes_val_option(dflt=None, **kwargs):
)
def
thresholds_option
(
**
kwargs
):
''' Option to give a list of thresholds '''
return
list_float_option
(
name
=
'thres'
,
short_name
=
'T'
,
desc
=
'Given threshold for metrics computations'
,
...
...
doc/py_api.rst
View file @
88e40fa0
...
...
@@ -121,8 +121,36 @@ CLI options
-----------
.. autosummary::
bob.measure.script.common_options
bob.measure.script.common_options.scores_argument
bob.measure.script.common_options.eval_option
bob.measure.script.common_options.sep_dev_eval_option
bob.measure.script.common_options.cmc_option
bob.measure.script.common_options.semilogx_option
bob.measure.script.common_options.show_dev_option
bob.measure.script.common_options.print_filenames_option
bob.measure.script.common_options.const_layout_option
bob.measure.script.common_options.axes_val_option
bob.measure.script.common_options.thresholds_option
bob.measure.script.common_options.lines_at_option
bob.measure.script.common_options.x_rotation_option
bob.measure.script.common_options.cost_option
bob.measure.script.common_options.points_curve_option
bob.measure.script.common_options.n_bins_option
bob.measure.script.common_options.table_option
bob.measure.script.common_options.output_plot_file_option
bob.measure.script.common_options.output_plot_metric_option
bob.measure.script.common_options.criterion_option
bob.measure.script.common_options.far_option
bob.measure.script.common_options.figsize_option
bob.measure.script.common_options.legend_ncols_option
bob.measure.script.common_options.legend_loc_option
bob.measure.script.common_options.line_width_option
bob.measure.script.common_options.marker_style_option
bob.measure.script.common_options.titles_option
bob.measure.script.common_options.title_option
bob.measure.script.common_options.x_label_option
bob.measure.script.common_options.y_label_option
bob.measure.script.common_options.style_option
Details
-------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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