def __init__(self, axis_bounds, axis_range, cyclic, data, counts, total_count, total_value, theta):
    self._data = data
    self._counts = counts
    self.total_count = total_count
    self.total_value = total_value
    self.axis_bounds = axis_bounds
    self.axis_range = axis_range
    self.cyclic = cyclic
    self._pop_store = None
    self._keys = list(data.keys())
    self._values = list(data.values())
    self._theta = theta
    if self.cyclic:
        self._vector_sum = self._fast_vector_sum(self._values, theta)
    else:
        self._vector_sum = None
def __init__(self, axis_bounds, axis_range, cyclic, data, counts, total_count, total_value, theta):
    self._data = data
    self._counts = counts
    self.total_count = total_count
    self.total_value = total_value
    self.axis_bounds = axis_bounds
    self.axis_range = axis_range
    self.cyclic = cyclic
    self._pop_store = None
    self._keys = list(data.keys())
    self._values = list(data.values())
    self._theta = theta
    if self.cyclic:
        self._vector_sum = self._fast_vector_sum(self._values, theta)
    else:
        self._vector_sum = None