From af9408fcffc67c002f5e970cd9d06c26220201f6 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 23 Jan 2022 00:31:33 +0100 Subject: [PATCH] try to inverse x --- graph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graph.py b/graph.py index 19abe3f..54aeabf 100644 --- a/graph.py +++ b/graph.py @@ -22,6 +22,7 @@ df.index = as_list print(df) ax = plt.gca() +ax.invert_xaxis() df.plot(y="total", color="blue", ax=ax) df.plot(y="fail", color="gray", ax=ax, dashes=(2, 1)) df.plot(y="pass", color="green", ax=ax, dashes=(4, 1))