From ac0e75ca316dd7f1160dd5a66194614064854ca8 Mon Sep 17 00:00:00 2001 From: Yussur Mustafa Oraji <yussur.mustafa.oraji@rwth-aachen.de> Date: Thu, 11 May 2023 19:46:38 +0200 Subject: [PATCH] Use TrueType in matplotlib --- tests/eval_data/eval_perf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/eval_data/eval_perf.py b/tests/eval_data/eval_perf.py index 61080c5..948298f 100644 --- a/tests/eval_data/eval_perf.py +++ b/tests/eval_data/eval_perf.py @@ -47,6 +47,8 @@ legends_slowdown = [True, False, True, False] ### USER GRAPH CONFIGURATION END ### +plt.rcParams['pdf.fonttype'] = 42 + if color_preset == 'presentation': color_base = color_i12_medyellow color_tsan = color_rwth_darkblue @@ -246,4 +248,4 @@ jep = list(map(lambda x: x + width/2, jep)) plt.xticks(jep, ("stencil", "transpose", "minimd", "minivite")) plt.legend(bbox_to_anchor=(0.5,1.2), loc="lower center", ncols=graph_legend_ncols_pertest) fig.savefig("delaycompare" + fileformat, dpi=300, bbox_inches="tight") -plt.close() \ No newline at end of file +plt.close() -- GitLab