corner.py#
Make some beautiful corner plots.
Corner plot /ˈkôrnər plät/ (noun):
An illustrative representation of different projections of samples in high dimensional spaces. It is awesome. I promise. Synonyms: scatterplot matrix, pairs plot, draftsman’s display
This Python module uses matplotlib to visualize multidimensional samples using a scatterplot matrix. In these visualizations, each one- and two-dimensional projection of the sample is plotted to reveal covariances. corner was originally conceived to display the results of Markov Chain Monte Carlo simulations and the defaults are chosen with this application in mind but it can be used for displaying many qualitatively different samples.
Development of corner happens on GitHub so you can raise any issues you have there.
corner has been used extensively in the astronomical literature and it has occasionally been cited
as corner.py
or using its previous name triangle.py
.
Documentation#
Attribution#
If you make use of this code, please cite the JOSS paper:
@article{corner,
doi = {10.21105/joss.00024},
url = {https://doi.org/10.21105/joss.00024},
year = {2016},
month = {jun},
publisher = {The Open Journal},
volume = {1},
number = {2},
pages = {24},
author = {Daniel Foreman-Mackey},
title = {corner.py: Scatterplot matrices in Python},
journal = {The Journal of Open Source Software}
}