Skip to main content

Functions to make matplotlib plots in the MOD style

Project description

MODPlot

This is a standalone package version of some of the plotting functions used in the making of MOD plots. See 1908.08542 for an example publication that used this style. An earlier version of this code can be found here.

Functions

  • axes - Makes a figure and axes in the MOD style.
  • calc_hist - Calculates a histogram and its errors from (weighted) data.
  • style - Gets some default style options.
  • cms_style - Default style options for CMS data.
  • sim_style - Default style options for SIM.
  • gen_style - Default style options for GEN.
  • truth_style - Default style options for truth (whatever that might be).
  • legend - Adds a legend with the option to reorder its entries.
  • stamp - Adds a multi-line textual "stamp" on the plot.
  • save - Saves a plot, optionally with the MOD watermark.
  • watermark - Adds the MOD watermark.

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

MODPlot-0.1.0.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

MODPlot-0.1.0-py2.py3-none-any.whl (19.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file MODPlot-0.1.0.tar.gz.

File metadata

  • Download URL: MODPlot-0.1.0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.8

File hashes

Hashes for MODPlot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f081155dd952c67729081a1fac01aa476fb6ea6110553ed09ff0da7faa43a8d7
MD5 1f0fa40494c6f1a5f8d0f6a061931fc8
BLAKE2b-256 0cb5745436669d2b650a7104eb9406be29a7a0ca9f5c7901d3fa3243bd6faad7

See more details on using hashes here.

File details

Details for the file MODPlot-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: MODPlot-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.8

File hashes

Hashes for MODPlot-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 50dd9c378849e2f16c964358871a1416fd8c7d2e169d099cf537c74d007fe7d3
MD5 cb9bb55fc984ddec89e2d3393040537b
BLAKE2b-256 a09179465cc5ea036e7116e51397a975cab02fc3481df19fdf6ec98beb690ec7

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