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): ...@@ -784,10 +784,12 @@ class MCMCSearch(core.BaseSearchClass):
axes[i].ticklabel_format(useOffset=False, axis='y') axes[i].ticklabel_format(useOffset=False, axis='y')
cs = chain[:, :, i].T cs = chain[:, :, i].T
if burnin_idx > 0: if burnin_idx > 0:
axes[i].plot(xoffset+idxs[:convergence_idx], axes[i].plot(xoffset+idxs[:convergence_idx+1],
cs[:convergence_idx]-subtractions[i], cs[:convergence_idx+1]-subtractions[i],
color="r", alpha=alpha, color="r", alpha=alpha,
lw=lw) lw=lw)
color='k', ls='--', lw=0.25)
axes[i].plot(xoffset+idxs[burnin_idx:], axes[i].plot(xoffset+idxs[burnin_idx:],
cs[burnin_idx:]-subtractions[i], cs[burnin_idx:]-subtractions[i],
color="k", alpha=alpha, lw=lw) color="k", alpha=alpha, lw=lw)
Supports Markdown
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