From e95ddc3ef8a4d96a65b1105136b587c013864047 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Fri, 22 Jan 2021 18:05:40 +0100 Subject: [PATCH] fix defaults in spy recipe --- src/recipes.jl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/recipes.jl b/src/recipes.jl index 49028953..246f7bb7 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -1522,12 +1522,8 @@ end rs, cs, zs = Plots.findnz(z.surf) xlims := ignorenan_extrema(cs) ylims := ignorenan_extrema(rs) - if plotattributes[:markershape] == :none - markershape := :circle - end - if plotattributes[:markersize] == default(:markersize) - markersize := 1 - end + markershape --> :circle + markersize --> 1 markerstrokewidth := 0 if length(unique(zs)) == 1 seriescolor --> :black @@ -1631,4 +1627,4 @@ julia> areaplot(1:3, [1 2 3; 7 8 9; 4 5 6], seriescolor = [:red :green :blue], f end end -@specialize \ No newline at end of file +@specialize