Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mne/viz/topomap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ def plot_ica_components(
fig.canvas.draw()

# add title selection interactivity
def onclick_title(event, ica=ica, titles=subplot_titles):
def onclick_title(event, ica=ica, titles=subplot_titles, fig=fig):
# check if any title was pressed
title_pressed = None
for title in titles:
Expand Down