From 50adb6cd9cd2d2fccea8f579cc160bb45e4f2e7c Mon Sep 17 00:00:00 2001 From: matthieugomez Date: Wed, 7 Apr 2021 14:42:12 -0700 Subject: [PATCH] Update recipes.jl --- src/recipes.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/recipes.jl b/src/recipes.jl index 5b25936a..c804c745 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -161,7 +161,6 @@ end # path and scatter # create a path from steps -# see https://github.com/JuliaPlots/Plots.jl/issues/1495 @recipe function f(::Type{Val{:scatterpath}}, x, y, z) x := x y := y @@ -186,9 +185,9 @@ end # plots line corresponding to linear regression of y on a constant and x @recipe function f(::Type{Val{:linearfit}}, x, y, z) - seriestype := :scatter x := x y := y + seriestype := :scatter @series begin () end