Skip to content

Commit

Permalink
Precompile basic invokation of widgets (#4437)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankier authored Oct 3, 2024
1 parent 2bb4de0 commit 8b1e9cd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions precompile/shared-precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,24 @@ end
@compile begin
meshscatter(rand(Point3f, 10), axis=(type=Axis3,))
end

@compile begin
f = Figure()
ax = Makie.Axis(f)
Makie.Toggle(f)
Makie.Slider(f)
Makie.LScene(f)
Makie.PolarAxis(f)
Makie.IntervalSlider(f)
lines!(ax, 1:2, label = "Line")
Makie.Legend(f, ax, "Default", nbanks = 2)
Makie.Box(f)
Makie.Label(f)
Makie.Textbox(f)
Makie.Axis3(f)
Makie.Colorbar(f)
Makie.Button(f)
Makie.Menu(f, options=["one"])
Makie.SliderGrid(f, (label = "Label", range = 0:1:2, startvalue = 1))
f
end

0 comments on commit 8b1e9cd

Please sign in to comment.