Merge pull request #1972 from hycakir/patch-1

fix `abline!` description
This commit is contained in:
Michael Krabbe Borregaard 2019-03-30 12:16:35 +01:00 committed by GitHub
commit 226023043b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1061,7 +1061,7 @@ end
# -------------------------------------------------
"Adds a+bx... straight line over the current plot, without changing the axis limits"
"Adds ax+b... straight line over the current plot, without changing the axis limits"
abline!(plt::Plot, a, b; kw...) = plot!(plt, [0, 1], [b, b+a]; seriestype = :straightline, kw...)
abline!(args...; kw...) = abline!(current(), args...; kw...)