Skip to content

Commit d60b682

Browse files
Saransh-cppmcabbott
andcommitted
Update docs/src/getting_started/linear_regression.md
Co-authored-by: Michael Abbott <32575566+mcabbott@users.noreply.github.com>
1 parent 8183d7f commit d60b682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/getting_started/linear_regression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ julia> x = x .* reshape(rand(Float32, 61), (1, 61));
4949
Visualizing the final data -
5050

5151
```jldoctest linear_regression_simple
52-
julia> plot(reshape(x, (61, 1)), reshape(y, (61, 1)), lw = 3, seriestype = :scatter, label = "", title = "Generated data", xlabel = "x", ylabel= "y");
52+
julia> plot(vec(x), vec(y), lw = 3, seriestype = :scatter, label = "", title = "Generated data", xlabel = "x", ylabel= "y");
5353
```
5454

5555

0 commit comments

Comments
 (0)