Introducing matplotlib-based plotting backend
This is an alpha-release of the Matplotlib (mpl) plotting functionality for rivet-mkhtml-mpl
, intended to go into release 3.1.8. Ultimately this will replace the TeX-based rivet-mkhtml
plotting, which in a future release will be moved to rivet-mkhtml-tex
and the mpl version will become the default.
It will write out a folder with a set of Python scripts that are executed at runtime by a multi-processing pool.
The user can easily tweak these Python scripts (manually) afterwards. A style-file that makes the plots "Rivet-style" is also included in this directory, such that the executable scripts are easy to transfer between different file-systems or computers.
The executable Python scripts rely only on the os
, matplotlib
, sys
and numpy
libraries.
Currently, rivet-mkhtml-mpl
includes the following functionalities:
- multiple input YODA files
- switching on/off statistical uncertainties on the YODA files
- hiding the reference data
- 2D heatmaps
- combination of PDF uncertainties into a PDF band using the LHAPDF tool (requires an installation of LHAPDF when running
rivet-mkhtml
, but not when executing the Python plot script).\
Tandem MR with yoda!96 (merged).