reedessick / universality

an investigation into the application of universal, EOS-independent relations in Gravitational Wave astronomy
MIT License
3 stars 2 forks source link

allow multiple colors for quantiles in corner plots, make tick labels also rotate #40

Closed isaaclegred closed 1 year ago

isaaclegred commented 1 year ago

These are a couple of small improvements to the plotting scripts, feel free to take whatever you would like from it.

The first component is allowing the user to pass colors for each of the individual contours that are being plotted. Currently if called from a script without the contour_colors option, it just defaults to using the color argument for all of the quantiles. This is to say, the current behavior becomes the default behavior. This produces somewhat weird behavior with respect to the legend (which uses the color argument), but it's useful for diagnostic purposes, in order to look at say 25, 50, 75 and 90% quantiles and not be confused by them all looking the same.

The second part is the rotation of the "top" labels when label rotation is turned on, this has proved really useful and I would recommend adding something like this.

reedessick commented 1 year ago

I'm adding similar functionality as part of #42, so I'll close this.