def insert_bucket(self, value, variance):
    new_item = self.bucket_size_row
    self.bucket_size_row += 1
    self.set_total(value, new_item)
    self.set_variance(variance, new_item)
def insert_bucket(self, value, variance):
    new_item = self.bucket_size_row
    self.bucket_size_row += 1
    self.set_total(value, new_item)
    self.set_variance(variance, new_item)