End of Histogram2D implementation