From 5d2538c4c26f20fb325c0bdc7708fb2c96f4d0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hamza=20Yusuf=20=C3=87ak=C4=B1r?= <32282514+hycakir@users.noreply.github.com> Date: Sat, 30 Mar 2019 12:09:17 +0300 Subject: [PATCH] fix `abline!` description It should be `ax+b` rather than `a+bx`. --- src/recipes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index 37982a3d..6f3fbdf0 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -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...)