Skip to content

Commit

Permalink
Fix long labels being cut off
Browse files Browse the repository at this point in the history
  • Loading branch information
serpent7776 authored and sharkdp committed Mar 14, 2024
1 parent 5c9d7a8 commit 836d173
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/plot_whisker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand Down

0 comments on commit 836d173

Please sign in to comment.