The Plotting ConfigΒΆ
Use the config file to fine-tune your plots.
Valid options:
Option Default Description data"data" Regular expression for values in dataset_col toplot as scatter markersweightsNoneWhich weight columns to use for plotting. yscale"linear"Should y-axis be on a linearor alogscale.lumi1Multiply all simulated datasets by this value. ylabelGive the Y-axis a title. legend Control the legend placement options. A dictionary ofkwarg pairs passed directly tomatplotlib.pyplot.legend()limits Set the axis ranges. Takes a dictionary withxand / oryasthe keys, and a list with upper and lower bounds.annotations Add text to the plot. Should be a list of text labels, each describedby a dictionary containing thetextand theposition. Allother paramers are passed as keyword-argument pairs to
Todo
Describe the bin_variable_replacements and value_replacements options for the config.
See also
An example of a plotting config cms_public_tutorial demo repository: https://gitlab.cern.ch/fast-hep/public/fast_cms_public_tutorial/blob/master/plot_config.yml