Skip to main content

Make some beautiful corner plots of samples.

Project description

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.

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


Just run

pip install triangle_plot

to get the most recent stable version.


The main entry point is the triangle.corner function. You’ll just use it like this:

import numpy as np
import triangle

ndim, nsamples = 5, 10000
samples = np.random.randn(ndim * nsamples).reshape([nsamples, ndim])
figure = triangle.corner(samples)

With some other tweaks (see you can get something that looks awesome like:

Project details

Release history Release notifications

History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
triangle_plot-0.0.6.tar.gz (6.6 kB) Copy SHA256 hash SHA256 Source None Jan 15, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page