Skip to content
Snippets Groups Projects
Commit 0991a559 authored by Colm Talbot's avatar Colm Talbot Committed by Moritz Huebner
Browse files

remove truth values from checkpoint plots

parent 400343a2
No related branches found
No related tags found
No related merge requests found
......@@ -401,11 +401,7 @@ class Dynesty(NestedSampler):
labels = [label.replace('_', ' ') for label in self.search_parameter_keys]
filename = "{}/{}_checkpoint_trace.png".format(self.outdir, self.label)
try:
truths = None
if self.injection_parameters is not None:
truths = [self.injection_parameters[key] for key in self.search_parameter_keys]
fig = dyplot.traceplot(self.sampler.results, labels=labels,
truths=truths)[0]
fig = dyplot.traceplot(self.sampler.results, labels=labels)[0]
fig.tight_layout()
fig.savefig(filename)
plt.close('all')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment