Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.measure
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.measure
Commits
b6c7d0dd
Commit
b6c7d0dd
authored
May 03, 2018
by
Theophile GENTILHOMME
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass index when drawing lines: used for pad when drawing IAPMR
parent
2716951e
Pipeline
#19732
failed with stage
in 51 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
bob/measure/script/figure.py
bob/measure/script/figure.py
+3
-2
No files found.
bob/measure/script/figure.py
View file @
b6c7d0dd
...
...
@@ -577,7 +577,7 @@ class Hist(PlotBase):
''
if
self
.
_criterion
is
None
else
\
self
.
_criterion
.
upper
(),
' (dev)'
if
self
.
_eval
else
''
)
self
.
_lines
(
threshold
,
label
,
neg
,
pos
)
self
.
_lines
(
threshold
,
label
,
neg
,
pos
,
idx
)
if
sub_plot_idx
==
1
:
self
.
_plot_legends
()
if
self
.
_step_print
==
sub_plot_idx
or
idx
==
self
.
n_systems
-
1
:
...
...
@@ -628,7 +628,8 @@ class Hist(PlotBase):
)
return
(
n
,
bins
,
patches
)
def
_lines
(
self
,
threshold
,
label
=
None
,
neg
=
None
,
pos
=
None
,
**
kwargs
):
def
_lines
(
self
,
threshold
,
label
=
None
,
neg
=
None
,
pos
=
None
,
idx
=
None
,
**
kwargs
):
label
=
label
or
'Threshold'
kwargs
.
setdefault
(
'color'
,
'C3'
)
kwargs
.
setdefault
(
'linestyle'
,
'--'
)
...
...
Write
Preview
Markdown
is supported
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