skip to navigation
skip to content

Not Logged In

triangle_plot 0.0.5

Make some beautiful corner plots of samples.

Latest Version: 0.0.6

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).

Installation

Just run

pip install triangle_plot

to get the most recent stable version.

Usage

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)
figure.savefig("triangle.png")

With some other tweaks (see demo.py) you can get something that looks awesome like:

https://raw.github.com/dfm/triangle.py/master/triangle.png
 
File Type Py Version Uploaded on Size
triangle_plot-0.0.5.tar.gz (md5) Source 2013-03-29 5KB
  • Downloads (All Versions):
  • 15 downloads in the last day
  • 111 downloads in the last week
  • 528 downloads in the last month