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)
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
@specialize