Metadata-Version: 2.4
Name: makecorner
Version: 1.0.0
Summary: Publication-ready corner plots for posterior samples
Project-URL: Source, https://github.com/tcallister/makecorner
Author-email: Tom Callister <thomas.a.callister@gmail.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.9
Requires-Dist: matplotlib>=3.6.1
Requires-Dist: numpy>=1.26.4
Requires-Dist: scipy>=1.10.1
Description-Content-Type: text/markdown

# makecorner

Code for generating publication-ready corner plots.

## Example

```python
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))
```

<img src="https://raw.githubusercontent.com/tcallister/makecorner/main/.github/images/example.png" alt="Demo" width="600">


