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.measure
Commits
b2dc1d84
Commit
b2dc1d84
authored
Apr 25, 2018
by
Theophile GENTILHOMME
Browse files
Fix error in context name
parent
bafb5b7c
Pipeline
#19451
passed with stage
in 63 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/script/figure.py
View file @
b2dc1d84
...
...
@@ -520,7 +520,7 @@ class Hist(PlotBase):
''' Functional base class for histograms'''
def
__init__
(
self
,
ctx
,
scores
,
evaluation
,
func_load
):
super
(
Hist
,
self
).
__init__
(
ctx
,
scores
,
evaluation
,
func_load
)
self
.
_nbins
=
None
if
'nbins'
not
in
ctx
.
meta
else
ctx
.
meta
[
'nbins'
]
self
.
_nbins
=
None
if
'n
_
bins'
not
in
ctx
.
meta
else
ctx
.
meta
[
'n
_
bins'
]
self
.
_thres
=
None
if
'thres'
not
in
ctx
.
meta
else
ctx
.
meta
[
'thres'
]
self
.
_show_dev
=
((
not
self
.
_eval
)
if
'show_dev'
not
in
ctx
.
meta
else
\
ctx
.
meta
[
'show_dev'
])
or
not
self
.
_eval
...
...
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