import matplotlib.pyplot as plt
import numpy as np
import csv as csv
x=[]
y=[]
with open('DTS_02.csv', 'r') as csvfile:
plots=csv.reader(csvfile, delimiter=';')
for row in plots:
x.append(float(row[1]))
y.append(float(row[2]))
plt.plot(x,y, label='Hello,World')
plt.xlabel('depth')
plt.ylabel('temperature')
plt.grid()
plt.title('1-e6')
plt.show()
picture --> [1]: https://i.stack.imgur.com/9T4lP.png
So I am trying to execute this one and my sample contains 1 million rows. There are two 2 problems 1.Why do I get such a thick line? 2.Why there is a line connecting starting and end point? Additionally, what would be your advice on improving this code(Without shifting to a new module)...