cogwheel.plottingΒΆ

Basic corner plots.

Functions

gen_colors

Return list of colors.

gen_linestyles

Return list of linestyles.

get_contour_fractions

Enclosed probability within a number of sigmas for a 2d Gaussian.

get_midpoints

Get bin midpoints from edges.

get_transparency_colormap

Return a colormap of a given color with varying transparency.

latex_val_err

Pass a value and its uncertainty, return a latex string '$value_{-err_minus}^{+err_plus}$' with the significant figures given by the uncertainties.

Classes

CornerPlot

Making a corner plot of a multivariate distribution from samples.

LatexLabels

Helper class for plotting parameter labels.

MultiCornerPlot

Overlay multiple distributions on the same corner plot.

PlotStyle

Class that encapsulates plotting choices (colors, linestyles, etc.) for a corner plot of a distribution.