Skip to content

Commit

Permalink
Update plotrecipes.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Oct 25, 2024
1 parent 33b1adb commit 0b41b19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/plotrecipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ end
@testset "3d faceting" begin
@test_nowarn data(A3) * visual(CairoMakie.Heatmap) * mapping(X, :RandomData, Dim{:p}, layout = Y => nonnumeric) |> draw
fg = data(A3) * visual(CairoMakie.Heatmap) * mapping(X, :RandomData, Dim{:p}, layout = Y => nonnumeric) |> draw
@test sum(x -> x isa AoG.Makie.Axis, AlgebraOfGraphics.Makie.contents(fg.figure.layout)) == size(A3, Y)
# Test that the number of axes is equal to the size of A3 in the y dimension.
@test sum(x -> x isa AlgebraOfGraphics.Makie.Axis, AlgebraOfGraphics.Makie.contents(fg.figure.layout)) == size(A3, Y)
end
end

0 comments on commit 0b41b19

Please sign in to comment.