How do I create a histogram from a hashmap in python?,plt.show()