how to discontinue a line graph in the plot pandas or matplotlib python,plt.show()