Skip to content

Commit

Permalink
add to rendered docs
Browse files Browse the repository at this point in the history
  • Loading branch information
palday committed Mar 25, 2024
1 parent 4fe0ad5 commit 813893f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/src/eeg.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ TopoPlots.eeg_topoplot(rand(19), labels; axis=(aspect=DataAspect(),), label_text
If the channels aren't 10/20, one can still plot them, but then the positions need to be passed as well:

```@example 1
data, positions = TopoPlots.example_data()
labels = ["s$i" for i in 1:size(data, 1)]
TopoPlots.eeg_topoplot(data[:, 340, 1], labels; positions=positions, axis=(aspect=DataAspect(),))
```

```docs
TopoPlots.example_data
```

0 comments on commit 813893f

Please sign in to comment.