## GetDist Triangle Plot Questions

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Josh Kable
Posts: 4
Joined: March 21 2018
Affiliation: Johns Hopkins University

### GetDist Triangle Plot Questions

I am making a triangle plot using GetDist. This triangle plot has two sets of contours which have a lot of overlap (this is good because I am trying to show agreement between the two). I would like to modify two things in the plot:

1) I would like to make one of the contours semi-transparent so that both contours can be seen. I am not sure how to do this using GetDist. I think I am looking for something similar to the Matplotlib 'alpha' parameter.

2) I would like to make the line widths of the contours thinner. There is a triangle plot parameter 'contour_lws', but this seems to only change the 1-D distribution's line widths not the 2-D contour's line widths. Is there a way to make the 2-D contour's line widths thinner?

Antony Lewis
Posts: 1790
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

### Re: GetDist Triangle Plot Questions

You can change the settings object, e.g. see box 17 in the plot gallery.

Josh Kable
Posts: 4
Joined: March 21 2018
Affiliation: Johns Hopkins University

### Re: GetDist Triangle Plot Questions

Thank you for the response. The line_args 'lw' setting seems to only affect the 1-D distributions instead of the contour line widths. Is there something that I am missing? Is there a way to adjust the line widths on the 2-D contours?

Antony Lewis
Posts: 1790
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

### Re: GetDist Triangle Plot Questions

try changing settings.lw_contour

José Ferreira
Posts: 6
Joined: August 27 2021
g = plots.get_subplot_plotter()