From 836d1730b5fe0725d03c629952539d9e3fab4cdb Mon Sep 17 00:00:00 2001 From: Serpent7776 Date: Wed, 13 Mar 2024 21:26:57 +0100 Subject: [PATCH] Fix long labels being cut off --- scripts/plot_whisker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/plot_whisker.py b/scripts/plot_whisker.py index 044f84b61..ef3459792 100755 --- a/scripts/plot_whisker.py +++ b/scripts/plot_whisker.py @@ -38,6 +38,7 @@ labels = [labels[i] for i in indices] times = [times[i] for i in indices] +plt.figure(figsize=(10, 6), constrained_layout=True) boxplot = plt.boxplot(times, vert=True, patch_artist=True) cmap = plt.get_cmap("rainbow") colors = [cmap(val / len(times)) for val in range(len(times))]