Skip to content

Conversation

@tsbinns
Copy link
Contributor

@tsbinns tsbinns commented Sep 5, 2024

Reference issue

Closes #12665.

What does this implement/fix?

In the plot_filters and plot_patterns methods used by the CSP and SPoC classes, adds a FutureWarning for the average parameter that it will be removed in v1.10.

Additional information

Currently in the tests, average isn't called anywhere. Should I add a new test for the FutureWarning?

@tsbinns tsbinns requested a review from jasmainak as a code owner September 5, 2024 15:47
@larsoner
Copy link
Member

larsoner commented Sep 6, 2024

Currently in the tests, average isn't called anywhere. Should I add a new test for the FutureWarning?

No need I think and failures are unrelated so in it goes, thanks @tsbinns !

@larsoner larsoner merged commit c993ae5 into mne-tools:main Sep 6, 2024
@tsbinns tsbinns deleted the deprecate_average branch September 6, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove average parameter from CSP and SPoC plotting methods

2 participants