Hi there! It looks like the latest update to v0.4.0 broke h.Copy() due to the new use of the copy function. copy takes destination as the first function argument then source, so h.bvs and newhist.bvs need to get swapped. Currently h.Copy() is removing all data from the bins in the original histogram and creating a copy which also has no data in its bins.
Hi there! It looks like the latest update to v0.4.0 broke
h.Copy()due to the new use of thecopyfunction.copytakes destination as the first function argument then source, soh.bvsandnewhist.bvsneed to get swapped. Currentlyh.Copy()is removing all data from the bins in the original histogram and creating a copy which also has no data in its bins.