Skip to main content

MODPlot

PyPI version python versions

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.

Global Variables

  • PLOTS_PATH
  • BARE_PLOTS_SUBDIR
  • MOD_LOGO_FILEPATH

Release files for MODPlot 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MODPlot 0.1.1
File Size Uploaded
MODPlot-0.1.1.tar.gz 20.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for MODPlot 0.1.1
File Interpreter ABI Platform
MODPlot-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 40.5 kB

Release files / MODPlot-0.1.1.tar.gz

Download URL MODPlot-0.1.1.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c1dc84b881ac2c3dfa1b84493413c8fa7bb26da707ec04fa65c1eb1fe5e97b74
BLAKE2b-256 checksum
How to use checksums
5c1a341a25ab1677ba3b7c219d30bf8ce53cc8f4c95d79729fd52509f026b408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.10

Release files / MODPlot-0.1.1-py2.py3-none-any.whl

Download URL MODPlot-0.1.1-py2.py3-none-any.whl
Size 20.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5f744319d78ca06a10c7ebd6df822777a93bc47cd979d373b780cd1cdf50f0f9
BLAKE2b-256 checksum
How to use checksums
dffef1522212f55db5c0d7da406d7fa1af6b73dda524675f03b7ae818a7c3e4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page