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 or using its previous name


If you make use of this code, please cite it following your journal’s software citation policy. For example, the new software policy for the AAS jornals would allow corner to be cited using the following BibTeX entry:

    Author = {Daniel Foreman-Mackey},
    Doi = {10.5281/zenodo.45906},
    Month = feb,
    Title = { v1.0.2},
    Url = {},
    Year = 2016

Authors & License

Copyright 2013-2016 Dan Foreman-Mackey & contributors

Built by Dan Foreman-Mackey and contributors (see corner.__contributors__ for the most up to date list). Licensed under the 2-clause BSD license (see LICENSE).