From a667b14621c66308b83388a0ee65825d454a9741 Mon Sep 17 00:00:00 2001 From: Yuki SUYAMA Date: Tue, 20 Feb 2024 12:23:33 +0900 Subject: [PATCH] align gene hits track in TracePlot (fixes zqfang/GSEApy#248) --- gseapy/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gseapy/plot.py b/gseapy/plot.py index d528d53..0cc4441 100644 --- a/gseapy/plot.py +++ b/gseapy/plot.py @@ -1342,7 +1342,7 @@ def axes_hits( trans2 = transforms.blended_transform_factory(ax2.transData, ax2.transAxes) # align hits to runes ax2.vlines( - [0, len(self.runes) - 1], + [1, len(self.runes[0])], 0, 1, linewidth=0.5,