Change matplotlib line style mid-graph,plt.show()