Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #124 from JuliaDynamics/makie-0.19
Browse files Browse the repository at this point in the history
Replace attribute names: textsize -> fontsize
  • Loading branch information
fbanning committed Feb 3, 2023
2 parents 4bbc6c0 + d2f5926 commit 45f1224
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/chaos/orbitdiagram.jl
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,13 @@ function add_controls!(controllayout, figure, D, parname, i0)
⬜p₋, ⬜p₊, ⬜u₋, ⬜u₊ = Observable.((0.0, 1.0, 0.0, 1.0))
tsize = 16
text_p₋ = Label(figure, lift(o -> "$(parname)₋ = $(o)", ⬜p₋),
halign = :left, width = Auto(false), textsize = tsize)
halign = :left, width = Auto(false), fontsize = tsize)
text_p₊ = Label(figure, lift(o -> "$(parname)₊ = $(o)", ⬜p₊),
halign = :left, width = Auto(false), textsize = tsize)
halign = :left, width = Auto(false), fontsize = tsize)
text_u₋ = Label(figure, lift(o -> "u₋ = $(o)", ⬜u₋),
halign = :left, width = Auto(false), textsize = tsize)
halign = :left, width = Auto(false), fontsize = tsize)
text_u₊ = Label(figure, lift(o -> "u₊ = $(o)", ⬜u₊),
halign = :left, width = Auto(false), textsize = tsize)
halign = :left, width = Auto(false), fontsize = tsize)
controllayout[3, 1] = grid!([text_p₋ text_p₊ ; text_u₋ text_u₊])
⬜p₋[], ⬜p₊[], ⬜u₋[], ⬜u₊[] = rand(4)
return nslider, Tslider, dslider,
Expand Down

0 comments on commit 45f1224

Please sign in to comment.