diff --git a/Project.toml b/Project.toml index 722876b..1d15320 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GridVisualize" uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8" authors = ["Juergen Fuhrmann "] -version = "1.0.2" +version = "1.0.3" [deps] ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4" diff --git a/src/makie.jl b/src/makie.jl index b703ad4..3d8d83e 100644 --- a/src/makie.jl +++ b/src/makie.jl @@ -1262,8 +1262,9 @@ function scalarplot!(ctx, TP::Type{MakieType}, ::Type{Val{3}}, grids, parentgrid end # adjust_planes() ctx[:data][] = ( - g = grid, - f = func, + g = grids, + p = parentgrid, + f = funcs, x = ctx[:xplanes], y = ctx[:yplanes], z = ctx[:zplanes], @@ -1275,8 +1276,9 @@ function scalarplot!(ctx, TP::Type{MakieType}, ::Type{Val{3}}, grids, parentgrid add_scene!(ctx, makescene3d(ctx)) else ctx[:data][] = ( - g = grid, - f = func, + g = grids, + p = parentgrid, + f = funcs, x = ctx[:xplanes], y = ctx[:yplanes], z = ctx[:zplanes],