Open patrickstowell opened 8 months ago
Note that this works bf2["DataMC"]["value"][0] = 0.1
So maybe just a docs issue for what we recommend...
Nah, we can fix it. It's something to do with the writeable bit in the numpy wrapper. There are pybind docs on it, I just didn't get around to trying to fix it
bf2 = pn.BinnedValues(pn.Binning.lin_space(0,10,5), "mc")
Works
bf2.values = [[0.5,0.5,0.1,0.1,0.1]]
Does not work
bf2.values[0] = [0.5]