Hi I have found the same problem but without an answer: enter link description here
My problem is that I try to plot data with the matplotlib and it connects the fir
I had the same problem. The solution I found was in the .txt file where my data was stored. The data set existed twice in the file and therefor caused the connection of start and endpoint by matplotlib.
Removing double data and the graph plotted properly. Fortunately, the two datasets appeared one after the other. So it was easy to delete the first part.
Since it was a huge data collection in my case, this was not obvious and therefor took some time to realise.
The problem was caused in creating the txt-file....
So all correct with matplotlib.
Cheers, Rick