Skip to content

Commit

Permalink
update docs for recent Makie
Browse files Browse the repository at this point in the history
  • Loading branch information
palday committed Jul 9, 2024
1 parent e17dce4 commit 4d4457d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ refgrid[!, :lower] = @. refgrid.weight - 1.96 * refgrid.err
refgrid[!, :upper] = @. refgrid.weight + 1.96 * refgrid.err
sort!(refgrid, [:age])
plt = data(refgrid) * mapping(:age, :weight; lower=:lower, upper=:upper, color=:sex) *
(visual(Lines) + visual(LinesFill))
plt = data(refgrid) * mapping(:age, :weight; color=:sex) *
(visual(Lines) + mapping(; lower=:lower, upper=:upper) * visual(LinesFill))
draw(plt)
```

Expand All @@ -149,8 +149,8 @@ refgrid_centered[!, :lower] = @. refgrid_centered.weight - 1.96 * refgrid_center
refgrid_centered[!, :upper] = @. refgrid_centered.weight + 1.96 * refgrid_centered.err
sort!(refgrid_centered, [:age])
plt = data(refgrid_centered) * mapping(:age, :weight; lower=:lower, upper=:upper, color=:sex) *
(visual(Lines) + visual(LinesFill))
plt = data(refgrid_centered) * mapping(:age, :weight; color=:sex) *
(visual(Lines) + mapping(; lower=:lower, upper=:upper) * visual(LinesFill))
draw(plt)
```

Expand Down

0 comments on commit 4d4457d

Please sign in to comment.