From ebb7adcc4f3777b56baf24985fbf8d91081a02dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20Skytte=20Randl=C3=B8v?= Date: Tue, 22 Oct 2024 09:27:26 +0200 Subject: [PATCH] feat(benchmarks): Move legend to bottom --- .github/workflows/benchmark.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index 06a7535..57b843c 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -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!")