How to update a plot in matplotlib?,plt.show()