Skip to content
Myr

Fix long labels being cut off

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Serpent7776 · committed by David Peter · parent 5c9d7a8 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:scripts/plot_whisker.py+1 added
36 unmodified lines
37indices = sorted(range(len(labels)), key=lambda k: medians[k])38labels = [labels[i] for i in indices]39times = [times[i] for i in indices]4041plt.figure(figsize=(10, 6), constrained_layout=True)42boxplot = plt.boxplot(times, vert=True, patch_artist=True)43cmap = plt.get_cmap("rainbow")44colors = [cmap(val / len(times)) for val in range(len(times))]45
13 unmodified lines