Skip to content

Commit a7e2f5a

Browse files
update
1 parent 5e95c28 commit a7e2f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

best_fit_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
data = np.array(points)
5454
plt.scatter(data[:,0], data[:,1])
5555
x = np.linspace(0, 11, 100)
56-
y = value(a)*x + value(c)
56+
y = value(a)*x - value(c)
5757
plt.plot(x, y)
5858
plt.show()

0 commit comments

Comments
 (0)