Skip to main content

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):
    • astLib no longer required if not using astroplots.contour_overlay
  • v0.6.6 (Dec 2022):
    • statsplots.corner supports strings in bins and bins1d for automatic bin width calculation
  • v0.6.5 (Dec 2022):
    • statsplots.corner bug fix when attempting to plot likelihood in diagonal panels (#27)

Last updated: Aug 2025

(c) Cristóbal Sifón 2013-2025

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

plottery-0.7.1.tar.gz (29.6 kB view details)

Uploaded Source

File details

Details for the file plottery-0.7.1.tar.gz.

File metadata

  • Download URL: plottery-0.7.1.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

Hashes for plottery-0.7.1.tar.gz
Algorithm Hash digest
SHA256 17e5064ffd0fec11fefb329b06d21d69b732558ffe92723339608a11a4a94193
MD5 95f7376a214c0941f00b77f8e62d1af7
BLAKE2b-256 7670cd445d7aed1483443542e6fba17b2e270a2030cd6d0234de39e37b9ff63e

See more details on using hashes here.

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