From 7d491d5137bf4bf7267e6c8ac248b3ba0d5da65c Mon Sep 17 00:00:00 2001 From: Vladimir Mikheev Date: Tue, 14 Nov 2023 15:04:46 +0000 Subject: [PATCH] error fix --- docs/literate/tutorials/erp.jl | 4 ++-- test/test_plot_circulareegtopoplot.jl | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/literate/tutorials/erp.jl b/docs/literate/tutorials/erp.jl index 6bd168d81..3077b7fcb 100644 --- a/docs/literate/tutorials/erp.jl +++ b/docs/literate/tutorials/erp.jl @@ -61,8 +61,8 @@ plot_erp( res_effects; mapping = (; y = :yhat, color = :continuous, group = :continuous), legend = (; nbanks = 2), - layout = (; legendPosition = :right), - showLegend = true, categoricalColor = false, categoricalGroup = true, + layout = (; showLegend = true, legendPosition = :right), + categoricalColor = false, categoricalGroup = true, ) diff --git a/test/test_plot_circulareegtopoplot.jl b/test/test_plot_circulareegtopoplot.jl index 71db684d2..915a9c21b 100644 --- a/test/test_plot_circulareegtopoplot.jl +++ b/test/test_plot_circulareegtopoplot.jl @@ -61,3 +61,10 @@ end axis = (; label = "Time?!"), predictor = :time, predictorBounds = [80, 320],) f end + +@testset "circularplot plot in GridLayout" begin + f = Figure(resolution=(2000, 2000)) + plot_circulareegtopoplot!(f[3:4, 4:5], d_topo[in.(d_topo.time, Ref(-0.3:0.1:0.5)), :]; + positions=positions, predictor=:time, predictorBounds=[-0.3, 0.5]) + f +end \ No newline at end of file