Skip to content

Commit

Permalink
finetuning of the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
hhaensel committed Dec 9, 2024
1 parent a75bf4b commit 2d0fc88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/StippleMakieDemo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ configure_makie_server!(listen_port = 8001)
onready(fig1) do
Makie.scatter(fig1.fig[1, 1], (0:4).^3)
Makie.heatmap(fig2.fig[1, 1], rand(5, 5))
Makie.scatter(fig2.fig[1, 2], (0:4).^3)
Makie.lines(fig2.fig[1, 2], cos.(0:2π/100:2π))
end
end
end


UI::ParsedHTMLString = column(style = "height: 80vh; width: 98vw", [
UI::ParsedHTMLString = column(style = "height: 80vh; width: 100%", [
h4("MakiePlot 1")
cell(col = 4, class = "full-width", makie_figure(:fig1))
h4("MakiePlot 2")
cell(col = 4, class = "full-width", makie_figure(:fig2))
btn("Hello", @click(:hello), color = "primary")
cell(col = 5, class = "full-width", makie_figure(:fig2))
(btn("Hello", @click(:hello), color = "primary"))
])

ui() = UI
Expand Down

0 comments on commit 2d0fc88

Please sign in to comment.