Skip to content
Snippets Groups Projects
Commit 7e6dd300 authored by Colm Talbot's avatar Colm Talbot
Browse files

remove truth values from checkpoint plots

parent 400343a2
No related branches found
No related tags found
1 merge request!475remove truth values from checkpoint plots
Pipeline #60187 passed
......@@ -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