Skip to content

Commit 27933f5

Browse files
authored
Fix ensemble plot recipe warning.
``` ┌ Warning: Attribute alias `zcolor` detected in the user recipe defined for the signature (::EnsembleSolution{Int64,3,Array{ODESolution{Int64,2,Array{Array{Int64,1},1},Nothing,Nothing,Array{Float64,1},Array{Array{Array{Int64,1},1},1},DiscreteProblem{Array{Int64,1},Tuple{Float64,Float64},true,Param{ModelMinimalR4Feedback,Float64},DiscreteFunction{true,DiffEqBase.var"#166#167",Nothing,Nothing},Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}},FunctionMap{false},OrdinaryDiffEq.InterpolationData{DiscreteFunction{true,DiffEqBase.var"#166#167",Nothing,Nothing},Array{Array{Int64,1},1},Array{Float64,1},Array{Array{Array{Int64,1},1},1},OrdinaryDiffEq.FunctionMapCache{Array{Int64,1},Array{Int64,1}}},DiffEqBase.DEStats},1}}). To ensure expected behavior it is recommended to use the default attribute `marker_z`. ``` Change `zcolor` to `marker_z` in accordance with suggestion.
1 parent 942c08a commit 27933f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ensemble/ensemble_solutions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ end
110110
xlims --> (-Inf,Inf)
111111
ylims --> (-Inf,Inf)
112112
zlims --> (-Inf,Inf)
113-
zcolor --> zcolors[i]
113+
marker_z --> zcolors[i]
114114
sim[i]
115115
end
116116
end

0 commit comments

Comments
 (0)