Commit f2cba8b5 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Adds vertical bar between burnin and prod

parent 29bc9c7a
......@@ -784,10 +784,12 @@ class MCMCSearch(core.BaseSearchClass):
axes[i].ticklabel_format(useOffset=False, axis='y')
cs = chain[:, :, i].T
if burnin_idx > 0:
axes[i].plot(xoffset+idxs[:convergence_idx],
cs[:convergence_idx]-subtractions[i],
axes[i].plot(xoffset+idxs[:convergence_idx+1],
cs[:convergence_idx+1]-subtractions[i],
color="r", alpha=alpha,
lw=lw)
axes[i].axvline(xoffset+idxs[convergence_idx],
color='k', ls='--', lw=0.25)
axes[i].plot(xoffset+idxs[burnin_idx:],
cs[burnin_idx:]-subtractions[i],
color="k", alpha=alpha, lw=lw)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment