Skip to content

Commit

Permalink
feat(benchmarks): Move legend to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Oct 22, 2024
1 parent 9040212 commit ebb7adc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ jobs:
scales = "free_y",
labeller = labeller
) +
ggplot2::labs(x = "Codebase version", y = "Time (s)")
ggplot2::labs(x = "Codebase version", y = "Time (s)") +
ggplot2::theme(
legend.position = "bottom",
legend.justification = "left"
)
if (length(slow_backends) > 1) {
g <- g + ggplot2::labs(caption = "* IMPORTANT: Benchmark data halved for this backend!")
Expand Down

0 comments on commit ebb7adc

Please sign in to comment.