python: plot a bar using matplotlib using a dictionary,plt.show()