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
b4174c2c
Commit
b4174c2c
authored
Jun 25, 2018
by
Theophile GENTILHOMME
Browse files
[script][figure] Fix labels positioning for subplot grid
parent
93ed1a07
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/script/figure.py
View file @
b4174c2c
...
...
@@ -711,8 +711,9 @@ class Hist(PlotBase):
if
col
==
0
:
axis
.
set_ylabel
(
self
.
_y_label
)
# rest to be printed
rest_print
=
self
.
n_systems
-
\
int
(
idx
/
self
.
_step_print
)
*
self
.
_step_print
rest_print
=
self
.
n_systems
*
(
2
if
self
.
_eval
and
not
self
.
_hide_dev
else
1
)
-
int
(
idx
/
self
.
_step_print
)
\
*
self
.
_step_print
if
n
+
self
.
_ncols
>=
min
(
self
.
_step_print
,
rest_print
):
axis
.
set_xlabel
(
self
.
_x_label
)
dflt_title
=
"Eval. scores"
if
evaluation
else
"Dev. scores"
...
...
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