Skip to content

Commit 8a60c2d

Browse files
committed
fix(typo): missing ]
1 parent 82cecbb commit 8a60c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

individual_modules/introduction_to_machine_learning/1_linear_regression.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@
839839
"\n",
840840
"# Draw vertical lines from each point to the line\n",
841841
"for i, x_i in enumerate(x):\n",
842-
" plt.plot([x_i, x_i, [y[i], y_pred[i]], color='black', linestyle='dashed')\n",
842+
" plt.plot([x_i, x_i], [y[i], y_pred[i]], color='black', linestyle='dashed')\n",
843843
"\n",
844844
"plt.title(\"Linear Regression with closed-form predictions\")\n",
845845
"plt.legend()\n",

0 commit comments

Comments
 (0)