diff --git a/examples/example.jl b/examples/example.jl index 4a3c586..feccdf0 100644 --- a/examples/example.jl +++ b/examples/example.jl @@ -64,7 +64,7 @@ foo() # [Plots.jl](https://github.com/JuliaPlots/Plots.jl) package using Plots -x = linspace(0, 6π, 1000) +x = range(0, stop=6π, length=1000) y1 = sin.(x) y2 = cos.(x) plot(x, [y1, y2])