plot smooth line with pyplot,plt.show()