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