Metadata-Version: 2.1
Name: MODPlot
Version: 0.1.0
Summary: Functions to make matplotlib plots in the MOD style
Home-page: https://github.com/pkomiske/MODPlot
Author: Patrick T. Komiske III
Author-email: pkomiske@mit.edu
License: GPL-3.0
Keywords: mod,plot,cms open data,matplotlib
Platform: UNKNOWN
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: matplotlib (>=3.0.0)
Requires-Dist: numpy (>=1.16.0)
Requires-Dist: PyPDF2 (>=1.26.0)

# MODPlot

This is a standalone package version of some of the plotting functions used in the making of MOD plots. See [1908.08542](https://arxiv.org/pdf/1908.08542.pdf) for an example publication that used this style. An earlier version of this code can be found [here](https://github.com/pkomiske/MOD/blob/master/CMS2011AJets/analyzer/python/modplot.py).

## 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.


