Skip to content

Commit

Permalink
additional docs problems
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdez committed Sep 20, 2023
1 parent 28687f8 commit 20cfa16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion docs/src/literate/reference/positions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"]))...)
Expand Down
10 changes: 0 additions & 10 deletions docs/src/tutorials/topoplot.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 20cfa16

Please sign in to comment.