diff --git a/docs/src/literate/reference/positions.jl b/docs/src/literate/reference/positions.jl index 78ccf2d79..6ff6a5ab4 100644 --- a/docs/src/literate/reference/positions.jl +++ b/docs/src/literate/reference/positions.jl @@ -16,7 +16,7 @@ data = rand(n_channels,1) * 1e-6 fake_evoked = PyMNE.EvokedArray(data, fake_info) fake_evoked.set_montage(biosemi_montage) -pos = UnfoldMakie.toPositions(fake_evoked) +pos = to_positions(fake_evoked) # # project from 3D electrode locations to 2D pos3d = hcat(values(pyconvert(Dict,biosemi_montage.get_positions()["ch_pos"]))...) diff --git a/docs/src/tutorials/topoplot.md b/docs/src/tutorials/topoplot.md index 2b5627fbe..9dd6de548 100644 --- a/docs/src/tutorials/topoplot.md +++ b/docs/src/tutorials/topoplot.md @@ -58,16 +58,6 @@ Note that only one of `positions` or `labels` have to be set to draw a topo plot cfgDefault = UnfoldMakie.PlotConfig() cfgDefault.mapping.y ``` -`positions` -```@example main -cfgDefault.mapping.positions #hide -``` - -`labels` -```@example main -cfgDefault.mapping.labels #hide -``` - ### label_text (boolean) Indicates whether label should drawn next to their position.