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
93ed1a07
Commit
93ed1a07
authored
Jun 25, 2018
by
Theophile GENTILHOMME
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[script][figure] Change legend behavior when only one histo is displayed (no legend)
parent
99cb2a85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
bob/measure/script/figure.py
bob/measure/script/figure.py
+2
-0
No files found.
bob/measure/script/figure.py
View file @
93ed1a07
...
@@ -716,6 +716,8 @@ class Hist(PlotBase):
...
@@ -716,6 +716,8 @@ class Hist(PlotBase):
if
n
+
self
.
_ncols
>=
min
(
self
.
_step_print
,
rest_print
):
if
n
+
self
.
_ncols
>=
min
(
self
.
_step_print
,
rest_print
):
axis
.
set_xlabel
(
self
.
_x_label
)
axis
.
set_xlabel
(
self
.
_x_label
)
dflt_title
=
"Eval. scores"
if
evaluation
else
"Dev. scores"
dflt_title
=
"Eval. scores"
if
evaluation
else
"Dev. scores"
if
self
.
n_systems
==
1
and
(
not
self
.
_eval
or
self
.
_hide_dev
):
dflt_title
=
" "
axis
.
set_title
(
self
.
_get_title
(
idx
,
dflt_title
))
axis
.
set_title
(
self
.
_get_title
(
idx
,
dflt_title
))
label
=
"%s threshold%s"
%
(
label
=
"%s threshold%s"
%
(
''
if
self
.
_criterion
is
None
else
''
if
self
.
_criterion
is
None
else
...
...
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