Custom plotting tools
Project description
plottery
(Not so) Generic plotting tools
To install, run
pip install plottery
or simply clone the latest version from github:
git clone https://github.com/cristobal-sifon/plottery.git
The plottery package contains four modules, astroplots, patches,
plotutils, and statsplots
Below is a brief description of each module's functions. See their help pages for more details.
astroplots:
contour_overlay -- Overlay contours from one image on to another (new in v0.3.1).
phase_space -- Plot phase space diagram (i.e., velocity vs. distance).
wcslabels -- Generate HMS and DMS labels for RA and Dec given in decimal degrees.
patches: additional matplotlib.patches objects
Bracket -- a square bracket used to highlight a region in a figure.
LogEllipse -- a finely-sampled polygon that appears as an ellipse in a log-log plot.
plotutils:
colorscale -- Generate a colorbar and associated array of colors from a given data set.
savefig -- Convenience wrapper around functions used when commonly saving a figure.
update_rcParams -- Update rcParam configuration to make plots look nicer.
statsplots:
contour_levels -- Calculate contour levels at chosen percentiles for 2-dimensional data.
corner -- Make a corner plot.
Changelog
- v0.7.0 (Aug 2025):
astLibno longer required if not usingastroplots.contour_overlay
- v0.6.6 (Dec 2022):
statsplots.cornersupports strings inbinsandbins1dfor automatic bin width calculation
- v0.6.5 (Dec 2022):
statsplots.cornerbug fix when attempting to plot likelihood in diagonal panels (#27)
Last updated: Aug 2025
(c) Cristóbal Sifón 2013-2025
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plottery-0.7.0.tar.gz
(29.6 kB
view details)
File details
Details for the file plottery-0.7.0.tar.gz.
File metadata
- Download URL: plottery-0.7.0.tar.gz
- Upload date:
- Size: 29.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7ccdea6e0808151bbabde18236009e9a9cbaf3635bc6e1fc8b5f89a3a6ef203
|
|
| MD5 |
f3cfb050bfd4494eca58b4ecbe72f403
|
|
| BLAKE2b-256 |
d270ff06966fcb9ebd9d0f1b0bfffb8c663ed743084fb3e75bcbeeccb82ecb7f
|