import matplotlib.pyplot as plt plt.bar([0,5,10], [8,2,7]) plt.ylabel('some numbers') plt.show()