Change matplotlib line style mid-graph
问题 I'm graphing some data (two lines) and I'd like to change the line style for the portions of the lines where the difference between them is statistically significant. So, in the below image (now a link b/c anti-spam policies don't allow me to post an image) I'd like the lines to look different (i.e. dashed perhaps) up until they start converging at about 35 on the x axis. line plot Is there a way to do this easily? I have the values for the x axis where the differences are significant, I'm