core.utils.plotting.get_latex_labels
core.utils.plotting.get_latex_labels(prior)Get the latex labels for prior parameters. If no latex label exists within the prior object, try to choose based on parameter key. Finally, return the parameter key.
Labels are sanitized to fix double-backslash escaping and missing braces that can occur with calibration parameters after prior serialization roundtrips.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| prior | PriorDict | required |
Returns
| Name | Type | Description |
|---|---|---|
| dict of latex labels |