Create eye-pleasing cornerplots (and maybe other types of plots in the future).
Usage example(s):
import numpy as np
import prettyplease
# Generate some example data
rng = np.random.default_rng()
n_samples = 100000
n_dim = 4
x = rng.normal(1.618, 0.2, size=(n_samples, n_dim))
# x is an ndarray of shape (n_samples, n_dim)
# With default settings
fig = prettyplease.corner(x)
fig.savefig('default.pdf', bbox_inches='tight')
# With some customization
labels = [rf'$\theta_{i}$' for i in range(n_dim)]
fig = prettyplease.corner(x, bins=30, labels=labels, plot_estimates=True, colors='red', n_uncertainty_digits=4, title_loc='center', figsize=(7,7))
fig.savefig('custom.pdf', bbox_inches='tight')
Metadata
Release files for prettyplease 0.13.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prettyplease-0.13.1.tar.gz | 21.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prettyplease-0.13.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.6 kB
Release files / prettyplease-0.13.1.tar.gz
| Download URL | prettyplease-0.13.1.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d58bb7bca01f214af28edf696121f8d7fd9670c19d6c74f2a76b6475b764bae6
|
|
BLAKE2b-256 checksum How to use checksums |
3b530ccdd1e8b9f078be9d8a5fc6b11504a0c5c6b0bf5f78fbe38561df88c2a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / prettyplease-0.13.1-py3-none-any.whl
| Download URL | prettyplease-0.13.1-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0328c1b542f402a00cf41b122806e25d16de0d88c80b2679a6890211a52e0e5a
|
|
BLAKE2b-256 checksum How to use checksums |
d49b861b6540c632afe2ea1aed3d340e0b09db9db07c65f46871fdaaa7e2ecb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|