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).
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:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
triangle_plot-0.0.5.tar.gz
(5.4 kB
view details)
File details
Details for the file triangle_plot-0.0.5.tar.gz
.
File metadata
- Download URL: triangle_plot-0.0.5.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7f13fbb5a075258bcd705b7825fc568e18d04c7ffda9dc2f4ca3a6816d60db7 |
|
MD5 | d69f7cc81dfdc8902d1f37a3c979fbe1 |
|
BLAKE2b-256 | b4dc83f17c70b284c8f0cf703176d41c22154c0d7d12756899c8189dce41489c |