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