I’m trying to create some TGraphs from TNtuples which contain NaNs and getting this error (n:
TPad::ResizePad:0: RuntimeWarning: Inf/NaN propagated to the pad. Check drawn objects.
TPad::ResizePad:0: RuntimeWarning: calib_data_7 height changed from 0 to 10
I’m sure it has something to do with the NaNs (some of the TNtuples with NaNs work fine), since if I replace the NaNs with zeros for the problematic tuples, the error vanishes.
Does anyone have a clue what’s going on here?
EDIT: I found out that the error only occurs, if the TNtuples first element is NaN. Why is this happening?