aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/serd_bench.py8
1 files changed, 5 insertions, 3 deletions
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))