Skip to content

Conversation

@mscheltienne
Copy link
Member

So.. I broke the update of the canvas in #11696, my bad 😅 The title are not changing color anymore when you select/deselect a component, except for the last figure. When I changed the structure of plot_ica_components to remove the recursion and call only once plt.show() after gathering the figures, it overwrote the variable fig used in the callback.

Should also be backported as #11696 was?

@larsoner larsoner added the backport-candidate on-merge: backport to maint/1.11 label May 17, 2023
@larsoner larsoner merged commit 4a7fec8 into mne-tools:main May 17, 2023
larsoner pushed a commit that referenced this pull request May 17, 2023
@larsoner
Copy link
Member

Yep, backported. Thanks @mscheltienne !

@mscheltienne mscheltienne deleted the fix branch May 17, 2023 16:41
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

backport-candidate on-merge: backport to maint/1.11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants