Skip to content
Snippets Groups Projects
Commit fef8aa1d authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Minor fixes to vulnerability plotting

parent ca1775b7
No related branches found
No related tags found
1 merge request!37WIP: initial implementation of harmonised plots
Pipeline #
import numpy as np
def remove_nan(scores): def remove_nan(scores):
"""Removes the NaNs from the scores """Removes the NaNs from the scores
......
...@@ -226,7 +226,7 @@ def common_options(f): ...@@ -226,7 +226,7 @@ def common_options(f):
'--subplot', type=INT, default=111, '--subplot', type=INT, default=111,
show_default=True, help='The order of subplots.')(f) show_default=True, help='The order of subplots.')(f)
f = click.option( f = click.option(
'-o', '--output', type=File(mode='w'), '-o', '--output', type=File(mode='wb'),
default='plots.pdf', show_default=True, default='plots.pdf', show_default=True,
help='The file to save the plots in.')(f) help='The file to save the plots in.')(f)
f = click.argument('scores', nargs=-1)(f) f = click.argument('scores', nargs=-1)(f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment