I see that the total is the same, which is good. It should not depend on the binning. Some partial areas are different, but given the bins’ repartition is different that’s not totally surprising.
I see in your plot (as well in the example that I uploaded) that the vertical lines stop before than the end of the canvas. I know it is a well known problem wehn using log scale…that’s because I tried to use the VerticalLine and HorizontalLine functions instead of the TLine (I found the code for VerticalLine in your old post and I tried to adapt it also ffor the Horizontal one). But it isnt’ a big problem…I also can use the TLine…but I see it gives problems depending on the binning. Indeed, if i set nbin=100, I get