Skip to content

Conversation

@drammock
Copy link
Member

@drammock drammock commented May 5, 2023

Warns users of impending change to Spectrum.plot defaults:

  • picks good_data_noref -> all_data_noref
  • exclude "bads" -> ()

motivation is that spectrum plots are frequently used as QC and it's a useful default to have the bad channels show up.

@larsoner
Copy link
Member

larsoner commented May 5, 2023

Bisecting the scikit-learn error now...

@larsoner larsoner enabled auto-merge (squash) May 5, 2023 19:33
"change so that bad channels will be shown by default. To keep the "
"old default behavior (and silence this warning), explicitly pass "
"`picks='data', exclude='bads'`."
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh we should have had FutureWarning on this line. To end users it won't matter I guess so no need to backport I think.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dang.

@drammock drammock deleted the spectrum-plot-picks branch May 10, 2023 16:12
larsoner added a commit to larsoner/mne-python that referenced this pull request May 18, 2023
* upstream/main: (32 commits)
  MAINT: Update download buttons [skip azp] [skip actions] [skip cirrus]
  Fix canvas.draw() in callback (mne-tools#11697)
  Remove recursion in plot_ica_components and use context manager for plt.ion/plt.ioff (mne-tools#11696)
  Update affiliation (mne-tools#11695)
  BUG: Fix bug with fwd restriction (mne-tools#11694)
  MRG: Suggest using "conda rename" in MNE updating instructions (mne-tools#11692)
  FIX: Regex [ci skip]
  MAINT: Apply deprecations [circle deploy] (mne-tools#11687)
  MAINT: Release 1.4.0 (mne-tools#11686)
  Trap music (mne-tools#11679)
  Fix call to plot_tfr_topomap from interactive AverageTFR.plot_topo function (mne-tools#11683)
  silence spectrum plot warning in examples/tutorials [circle full] (mne-tools#11682)
  Spectrum plot picks (mne-tools#11680)
  Update website conf (mne-tools#11675)
  BUG: Fix bug with MF LCMV rank (mne-tools#11664)
  ENH: Change known_config_types to dict (mne-tools#11166)
  MAINT: Improve README (mne-tools#11673)
  MAINT: Add to git-blame-ignore-revs [circle front]
  MAINT: Run black on codebase
  MAINT: Use black
  ...
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.

2 participants