ContextLab / ContextLab/supereeg

BUG: plot_locs and plot_data when no electrodes pass the filter threshold

Open
#134 0 comments 0 reactions 1 assignee Claimed by @lucywowen View on GitHub
Dominant language
Python
Stars
38
Forks
19
PR merge metrics
No merged PRs in 30d

Description

When all electrodes have kurtosis values greater than the threshold, plot_locs and plot_data both fail.

plot_data fix: when bo.get_locs() is empty, plot_data should return an empty plot
plot_locs fix:
- if there are no electrodes, plot_locs should show an empty glass brain plot
- if there are electrodes, but none that pass the threshold, i think we should indicate "bad" electrodes in some additional color-- e.g. as x's or very light gray, or something along those lines.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.