diff --git a/xga/products/base.py b/xga/products/base.py index 5d665985..3692324a 100644 --- a/xga/products/base.py +++ b/xga/products/base.py @@ -1,5 +1,5 @@ # This code is a part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS). -# Last modified by David J Turner (turne540@msu.edu) 21/11/2024, 10:34. Copyright (c) The Contributors +# Last modified by David J Turner (turne540@msu.edu) 21/11/2024, 10:37. Copyright (c) The Contributors import inspect import os @@ -1473,7 +1473,8 @@ def view_getdist_corner(self, model: str, settings: dict = {}, figsize: tuple = in enumerate(model_obj.par_publication_names)] # Need to remove $ from the labels because getdist adds them itself - stripped_labels = [(lab_pair[0] + "\: [" + lab_pair[1] + ']').replace('$', '') for lab_pair in labels] + stripped_labels = [(lab_pair[0] + r"\: \left[" + lab_pair[1] + r'\right]').replace('$', '') + for lab_pair in labels] # Setup the getdist sample object gd_samp = MCSamples(samples=flat_chains, names=model_obj.par_names, labels=stripped_labels,