Searched refs:count_dict (Results 1 – 1 of 1) sorted by relevance
58 def FromCountDict(count_dict, scale=20, formatter=None, key_names=None): argument82 hist = [(namer(key), count) for key, count in count_dict.items()]103 count_dict = defaultdict(int) # Unset items default to zero105 count_dict[key] += 1106 return Histogram.FromCountDict(count_dict, scale, formatter, key_names)