From f207805580d30dfa8dca0d666505b60be28fbf90 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 22 Jan 2022 18:06:33 +0100 Subject: [PATCH] fix the presentation --- graph.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graph.py b/graph.py index c172ada..19abe3f 100644 --- a/graph.py +++ b/graph.py @@ -23,11 +23,11 @@ print(df) ax = plt.gca() df.plot(y="total", color="blue", ax=ax) -df.plot(y="fail", color="red", ax=ax) -df.plot(y="pass", color="green", ax=ax) +df.plot(y="fail", color="gray", ax=ax, dashes=(2, 1)) +df.plot(y="pass", color="green", ax=ax, dashes=(4, 1)) if "gnu" in sys.argv[1]: - df.plot(y="error", color="orange", ax=ax) -plt.title("Rust/findutils running GNU's testsuite") + df.plot(y="error", color="orange", ax=ax, dashes=(6, 2)) +plt.title("Rust/findutils running other testsuites") plt.xticks(rotation=45) if "gnu" in sys.argv[1]: plt.savefig("gnu-results.png", dpi=199)