ProjectionY, without error bars


Is there a way to not have the error bars on a histogram when I project a 2d histogram to a 1D histogram using ProjectionY. I left out the “e” option but I still get the error bars. I use this projected histogram as an input to a piece of code that seems to fail because of the error info in the histogram. I think I can use SetBinError, looping over each bin but is there any other way to do this?

Thanks in advance!

Try the option “HIST”