From 798429b2d6987f0bf4b4c9eb29d4a8d9e5144bed Mon Sep 17 00:00:00 2001
From: "gregory.ashton" <gregory.ashton@ligo.org>
Date: Wed, 12 Apr 2017 17:03:35 +0200
Subject: [PATCH] Fixes vertical bar for init step

---
 pyfstat/mcmc_based_searches.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyfstat/mcmc_based_searches.py b/pyfstat/mcmc_based_searches.py
index 74f0d73..e499d5c 100644
--- a/pyfstat/mcmc_based_searches.py
+++ b/pyfstat/mcmc_based_searches.py
@@ -828,7 +828,7 @@ class MCMCSearch(core.BaseSearchClass):
                                      cs[:convergence_idx+1]-subtractions[i],
                                      color="r", alpha=alpha,
                                      lw=lw)
-                        axes[i].axvline(xoffset+idxs[convergence_idx],
+                        axes[i].axvline(xoffset+convergence_idx,
                                         color='k', ls='--', lw=0.25)
                     axes[i].plot(xoffset+idxs[burnin_idx:],
                                  cs[burnin_idx:]-subtractions[i],
-- 
GitLab