fix abline! description

It should be `ax+b` rather than `a+bx`.
This commit is contained in:
Hamza Yusuf Çakır 2019-03-30 12:09:17 +03:00 committed by GitHub
parent b300e634f6
commit 5d2538c4c2
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!(plt::Plot, a, b; kw...) = plot!(plt, [0, 1], [b, b+a]; seriestype = :straightline, kw...)
abline!(args...; kw...) = abline!(current(), args...; kw...) abline!(args...; kw...) = abline!(current(), args...; kw...)