Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pad.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pad.base
Commits
fef8aa1d
There was a problem fetching the pipeline summary.
Commit
fef8aa1d
authored
7 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Minor fixes to vulnerability plotting
parent
ca1775b7
No related branches found
No related tags found
1 merge request
!37
WIP: initial implementation of harmonised plots
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/pad/base/script/__init__.py
+3
-0
3 additions, 0 deletions
bob/pad/base/script/__init__.py
bob/pad/base/script/plots.py
+1
-1
1 addition, 1 deletion
bob/pad/base/script/plots.py
with
4 additions
and
1 deletion
bob/pad/base/script/__init__.py
+
3
−
0
View file @
fef8aa1d
import
numpy
as
np
def
remove_nan
(
scores
):
def
remove_nan
(
scores
):
"""
Removes the NaNs from the scores
"""
Removes the NaNs from the scores
...
...
This diff is collapsed.
Click to expand it.
bob/pad/base/script/plots.py
+
1
−
1
View file @
fef8aa1d
...
@@ -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
=
'
w
b
'
),
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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment