Skip to main content

Publication-ready corner plots for posterior samples

Project description

makecorner

Code for generating publication-ready corner plots.

Example

import numpy as np
from makecorner import corner

# Generate some mock data
xs = np.random.normal(size=1000)
ys = np.random.normal(size=1000, scale = 0.54)
zs = np.random.normal(size=1000)

data = {
    'x':{'data': xs, 'plot_bounds':(-3, 3), 'label':r'$x$'},
    'y':{'data': ys, 'plot_bounds':(-3, 3), 'label':r'$y$'},
    'z':{'data': zs, 'plot_bounds':(-3, 3), 'label':r'$z$'}
}

# Create corner plot
corner(data, contour_levels=(0.5, 0.95))
Demo

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

makecorner-1.0.0.tar.gz (415.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

makecorner-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file makecorner-1.0.0.tar.gz.

File metadata

  • Download URL: makecorner-1.0.0.tar.gz
  • Upload date:
  • Size: 415.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for makecorner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 30d8a6d86c8e7a200981b024ee81df4e4a8f748e6be3d27d9e82e1fc55a0fccb
MD5 433fc069a6cb0c9c60777a02d056efa2
BLAKE2b-256 e266d81caf47812ed20ce342427f20cc9ab61bf027b483e4672d0c8cd07c5ae0

See more details on using hashes here.

Provenance

The following attestation bundles were made for makecorner-1.0.0.tar.gz:

Publisher: publish.yml on tcallister/makecorner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file makecorner-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: makecorner-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for makecorner-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e6d5908bb87f7d46a11e6dcd1124a79d543e3bdab24912887a073ee38a66c1b
MD5 0589b1b70302d0cb7b90a94defab9567
BLAKE2b-256 230aa37800d97a81652afb726cff2ac5fa6c1b1d92aabd1b111117f586159066

See more details on using hashes here.

Provenance

The following attestation bundles were made for makecorner-1.0.0-py3-none-any.whl:

Publisher: publish.yml on tcallister/makecorner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page