From d124ac405cfa08152d1f440e8dbe479084a3d23e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Jun 2022 19:26:04 -0400 Subject: Update benchmarks --- scripts/serd_bench.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/serd_bench.py b/scripts/serd_bench.py index 2ecaf8eb..683ce7c4 100755 --- a/scripts/serd_bench.py +++ b/scripts/serd_bench.py @@ -81,7 +81,9 @@ def plot(in_file, out_filename, x_label, y_label, y_max=None): matplotlib.use("agg") import matplotlib.pyplot as plt - fig_height = 4.0 + plt.rcParams.update({'font.size': 7}) + + fig_height = 1.8 dashes = get_dashes() markers = itertools.cycle(["o", "s", "v", "D", "*", "p", "P", "h", "X"]) @@ -115,8 +117,8 @@ def plot(in_file, out_filename, x_label, y_label, y_max=None): linewidth=1.0, ) - plt.legend() - plt.savefig(out_filename, bbox_inches="tight", pad_inches=0.025) + plt.legend(labelspacing=0.25) + plt.savefig(out_filename, bbox_inches="tight", pad_inches=0.125) plt.close() sys.stderr.write("wrote {}\n".format(out_filename)) -- cgit v1.2.1