Corner.py makes beautiful corner plots (scatter plot matrices) for visualizing high-dimensional datasets, commonly used in Bayesian analysis (e.g., MCMC chains). Current version 2.2.3 requires Python >=3.9. Releases are infrequent, mainly maintenance.
pip install cornerVerified import paths — ran on the pinned version, not inferred.
Create a simple corner plot from random samples.
Capture the figure: `fig = corner.corner(...)` and use `fig.axes` to access subplots.
Use `smooth1d=...` and/or `smooth2d=...` instead of `smooth=...`.
Ensure `truths` has the same number of elements as the columns of `samples`.
Either omit `labels` or pass a list of label strings. Quantiles will appear if `show_titles=True` and `quantiles` is set.
Subsample your data: `samples = samples[::10]`
Use `import corner` then call `corner.corner(samples)`.
Ensure `truths` has the same number of elements as `samples.shape[1]`.
Use `smooth1d` and/or `smooth2d` instead.
Install with `pip install corner[arviz]` or pip install arviz.
No dependency data recorded yet.