plt.show()

added plt.show() to show the graph