FAST-HEP / fast-plotter

Manipulate binned pandas dataframes into plots
https://fast-hep.web.cern.ch
3 stars 8 forks source link

Plot other dset types #65

Open DBAnthony opened 3 years ago

DBAnthony commented 3 years ago

In the config, example usage is:

other_dset_types:
    Total Prefit:
        regex: '(.*Prefit.*)'
        plot_ratio: True
        colour: 'red'
        add_error: False
    Total Postfit:
        regex: '(.*Postfit.*)'
        plot_ratio: True
        colour: 'k'
        add_error: False

To yield plot_process category--Wmunu--weight_nominal--project_category-yscale_log

(currently errors on ratio are plotted even if error on main ax is off)