From 77f1d9f36998066b10b9fb57c1b8c49b083f7b84 Mon Sep 17 00:00:00 2001
From: hjulienn <hanna.julienne@pasteur.fr>
Date: Tue, 20 Sep 2022 18:28:35 +0200
Subject: [PATCH] fix zoom quadrant plot

---
 jass/models/plots.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jass/models/plots.py b/jass/models/plots.py
index 8f80635d..8a95ebeb 100644
--- a/jass/models/plots.py
+++ b/jass/models/plots.py
@@ -234,7 +234,7 @@ def create_quadrant_plot(work_file_path: str,
     alim = np.ceil(pv_t.JASS_PVAL.loc[pv_t.color == "#f77189"].max() + 2)
     if np.isnan(alim):
         alim = 10
-    plt.plot([0, alim, 0, alim])
+    plt.axis([0, alim, 0, alim])
     # légendes abcisse et ordonnee
     plt.xlabel('-log10(P) for univariate tests', fontsize=12)
     # plt.show()
-- 
GitLab