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.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: Dec 2022

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

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.6.6.tar.gz (28.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: plottery-0.6.6.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.12

File hashes

Hashes for plottery-0.6.6.tar.gz
Algorithm Hash digest
SHA256 0b09cce991d3f0f856a023fd1d2479c69fe6be614480fceb5492f4930fcf3320
MD5 9039a2fea41ae1e2bcf72bbe7dc342b1
BLAKE2b-256 3c75028e148745238c135c42fe0435137fa132161cbe5cdab7611fcf85055f17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page