FAST-HEP / fast-plotter

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

Add poisson error for n=0 and support plots with just signal #63

Closed DBAnthony closed 3 years ago

DBAnthony commented 3 years ago

First change allows plots to be created if only signal is included (no data or mc).

Second change adds a special case to give the poisson error for n=0. This is obviously not a good approach, and we should instead do the proper Poissonian asymmetric errors, but better than no error at all for n=0.

DBAnthony commented 3 years ago

Closing because looks like 1st issue was already addressed without me realising and 2nd probably not wanted in most circumstances - may add 2nd to another update.