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.0a1.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.0a1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: makecorner-1.0.0a1.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.0a1.tar.gz
Algorithm Hash digest
SHA256 c02d1ea77feff322934b55b896eb74c4f53185f16215ba238f254471bfbda3e0
MD5 bab42a5facc02f99db6157d4bb6c3b4d
BLAKE2b-256 c5927394854c82a93a47866ac48eaea5fa8b3a1dcdbe9e1c09c735c8e5b44c9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for makecorner-1.0.0a1.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.0a1-py3-none-any.whl.

File metadata

  • Download URL: makecorner-1.0.0a1-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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 6de85fa6ff9caed9336f61297458e6e879999547780b9369efeb1bbb33e87d1f
MD5 4a1fd5c617e90552a3ecbf49a6fb567c
BLAKE2b-256 a6171aa2db8370378a776a83fafea764db058c0c97b2835899ee2eb0e30b96e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for makecorner-1.0.0a1-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