corner_plot
corner_plot¶
- corner_plot(a, C=None, labels=None, levels=None, sigmas=(1, 2, 3, 4), axes=None, fig=None, Nxy=(100, 101), contour_kw=None)[source]¶
Make a corner-plot of the variables a.
- Parameters
a ([float] or [uncertainties.ufloat]) – Parameter values. These can be ufloat values from the
uncertaintiespackage.C (array-like, optional) – Covariance matrix. If a is a list of ufloat`s, then the correlation matrix will be computed with `C = uncertainties.covariance_matrix(a) if not provided.
labels ([str], optional) – Labels for plot. If not provided, then if a._fields exists, these will be used, otherwise, they will be labelled a_n.
levels (array-like, optional) – Contours to draw. If not, then we will assume the variables are gaussian and use the
nu=2degree-of-freedom chi square distribution to convert from sigmas.sigmas (array-like, optional) – If provided and levels is None, then use to generate levels.
axes (array of Axes, optional) – If provided, then the we will draw in these.
contour_kw (dict, optional) – Additional arguments for
matplotlib.axes.Axes.contour()like linestyles, and colors.