I created a dictionary that counts the occurrences in a list of every key and I would now like to plot the histogram of its content.
dictionary
list
This i
In case the keys of the myDictionary are not uniformed distributed, its helpful to use the keys as str:
myDictionary
str
plt.bar([ str(i) for i in myDictionary.keys()], myDictionary.values(), color='g')