I'm new to Blender 2.8. I want to display a curve based on x, y, z data I got stored in a file. To load the curve I am using the following script, which I found in this forum.
With TS_0084.dat being the file, only holding the x, y, z data. The factor 1000 is for adjusting the units. The script works and loads the curve.
However, when I load the curve, it always adds this orange connection line between the last point of the curve and the origin. I shifted the curve using Transform and the orange line and origin point just shift with
I want to delete this line or atleast it not to be shown, because I want to generate a graphic. Selecting the line and delete the segment does not help, the line turns black and cannot be selected anymore. Also when I switch of Origin in the Curve Display in Viewport the reference point vanishes, but the line stays. How can I remove this line?

