'Constructor.
Args:
attribute: The histogram object will be stored in this attribute.'

def __init__(self, attribute):

    self.attribute = attribute
    self.categories = dict([(x, {}) for x in self.active_days])
