Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonas Kastberg
iris
Commits
013daeaf
Commit
013daeaf
authored
Mar 03, 2016
by
Ralf Jung
Browse files
better position for the legend
parent
82c06c8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
benchmark/visualize.py
View file @
013daeaf
...
...
@@ -29,7 +29,7 @@ results = list(results)
timings
=
list
(
map
(
lambda
t
:
t
[:
-
2
]
if
t
.
endswith
(
".v"
)
else
t
,
args
.
timings
))
for
timing
in
timings
:
plt
.
plot
(
list
(
map
(
lambda
r
:
r
.
times
.
get
(
timing
),
results
)),
marker
=
next
(
markers
),
markersize
=
8
)
plt
.
legend
(
timings
,
loc
=
'
low
er left'
)
plt
.
legend
(
timings
,
loc
=
'
upp
er left'
)
plt
.
xticks
(
range
(
len
(
results
)),
list
(
map
(
lambda
r
:
r
.
commit
[:
7
],
results
)),
rotation
=
70
)
plt
.
subplots_adjust
(
bottom
=
0.2
)
# more space for the commit labels
...
...
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