fix defaults in spy recipe

This commit is contained in:
Daniel Schwabeneder 2021-01-22 18:05:40 +01:00
parent 49eba0bf2f
commit e95ddc3ef8

View File

@ -1522,12 +1522,8 @@ end
rs, cs, zs = Plots.findnz(z.surf) rs, cs, zs = Plots.findnz(z.surf)
xlims := ignorenan_extrema(cs) xlims := ignorenan_extrema(cs)
ylims := ignorenan_extrema(rs) ylims := ignorenan_extrema(rs)
if plotattributes[:markershape] == :none markershape --> :circle
markershape := :circle markersize --> 1
end
if plotattributes[:markersize] == default(:markersize)
markersize := 1
end
markerstrokewidth := 0 markerstrokewidth := 0
if length(unique(zs)) == 1 if length(unique(zs)) == 1
seriescolor --> :black seriescolor --> :black