Skip to content

Commit

Permalink
Merge pull request #57 from aymgal/fix_corner_plot
Browse files Browse the repository at this point in the history
Fixing little error in making a corner plot
  • Loading branch information
gvernard authored Nov 10, 2023
2 parents 80c61c5 + 2fc4af6 commit 9b5bd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coolest/api/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def init_getdist(self, shift_sample_list=None, settings_mcsamples=None):
# Set the labels for the parameters in the chain file
labels = []
for par_id in self.parameter_id_list:
param = coolest_obj.lensing_entities.get_parameter_from_id(par_id)
param = self.coolest_objects[i].lensing_entities.get_parameter_from_id(par_id)
labels.append(param.latex_str.strip('$'))

# Read parameter values and probability weights
Expand Down

0 comments on commit 9b5bd63

Please sign in to comment.