Skip to content

Commit

Permalink
Merge pull request #25 from mike-allaway/patch-1
Browse files Browse the repository at this point in the history
removed a semicolon that isn't needed
  • Loading branch information
tompollard authored Apr 16, 2024
2 parents 1994b09 + f1b897f commit 8b35379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _episodes/03-learning.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ df['y_hat'] = [0, 2, 4, 6, 8]
ax = df.plot(x='x', y='y', kind='scatter', xlim=[0,6], ylim=[-1,9])

# plot approx line of best fit
ax.plot(df['x'], df['y_hat'], color='blue');
ax.plot(df['x'], df['y_hat'], color='blue')

# plot error
ax.vlines(x=df['x'], ymin=df['y'], ymax=df['y_hat'], color='red', linestyle='dashed')
Expand Down

0 comments on commit 8b35379

Please sign in to comment.