From 4d4457d0c6850b348f490700698d22bbf5d61d7c Mon Sep 17 00:00:00 2001 From: Phillip Alday Date: Tue, 9 Jul 2024 14:46:11 +0200 Subject: [PATCH] update docs for recent Makie --- docs/src/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/index.md b/docs/src/index.md index 1d8feea..fd5e650 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -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) ``` @@ -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) ```