Skip to content

Commit

Permalink
test alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarthur committed Nov 20, 2024
1 parent 9b42bc1 commit a808d7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ReferenceTests/src/tests/figures_and_makielayout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,10 @@ end

@reference_test "Toggle" begin
f = Figure()
th = Makie.Toggle(f[1,1])
scatter(f[1,1], [1,2,3], axis = (; height=200))
th = Makie.Toggle(f[1,2], valign=:top)
th.orientation[] = pi/2
tv = Makie.Toggle(f[2,1], orientation=pi/2)
tv = Makie.Toggle(f[1,3], valign=:top, orientation=pi/2)
tv.orientation[] = 0
f
end

0 comments on commit a808d7a

Please sign in to comment.