-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ENH: adds annotation filtering to raw figures #13425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1911,6 +1911,7 @@ def plot( | |
color=None, | ||
bad_color="lightgray", | ||
event_color="cyan", | ||
annotation_regex=".*", | ||
scalings=None, | ||
remove_dc=True, | ||
order=None, | ||
|
@@ -1951,6 +1952,7 @@ def plot( | |
color, | ||
bad_color, | ||
event_color, | ||
annotation_regex, | ||
|
||
scalings, | ||
remove_dc, | ||
order, | ||
|
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -37,6 +37,7 @@ def plot_raw( | |||||||
color=None, | ||||||||
bad_color="lightgray", | ||||||||
event_color="cyan", | ||||||||
annotation_regex=".*", | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you're going to add it here (which is reasonable) we need to make everything kwarg-only (which we've been doing to functions bit-by-bit)
Suggested change
|
||||||||
scalings=None, | ||||||||
remove_dc=True, | ||||||||
order=None, | ||||||||
|
@@ -373,6 +374,7 @@ def plot_raw( | |||||||
event_times=event_times, | ||||||||
event_nums=event_nums, | ||||||||
event_id_rev=event_id_rev, | ||||||||
annotation_regex=annotation_regex, | ||||||||
# preprocessing | ||||||||
projs=projs, | ||||||||
projs_on=projs_on, | ||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.