Skip to content

Commit be12b9e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent eb78548 commit be12b9e

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

mne/viz/evoked.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,8 +1956,7 @@ def plot_evoked_joint(
19561956
_, times_ts = _check_time_unit(ts_args["time_unit"], times_sec)
19571957

19581958
if len(ch_types) == 1 and set(ch_types) == {"mag"}:
1959-
from .topomap import _prepare_topomap_plot
1960-
from .topomap import _opm_coils
1959+
from .topomap import _opm_coils, _prepare_topomap_plot
19611960

19621961
(
19631962
_,

mne/viz/topomap.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,9 +1809,12 @@ def plot_ica_components(
18091809
else:
18101810
grouped_data = [(None, data_[:, np.newaxis], pos, names)]
18111811

1812-
for group_idx, (group_label, group_data, group_pos, group_names) in enumerate(
1813-
grouped_data
1814-
):
1812+
for group_idx, (
1813+
group_label,
1814+
group_data,
1815+
group_pos,
1816+
group_names,
1817+
) in enumerate(grouped_data):
18151818
ax_idx = comp_offset * n_group_axes + group_idx
18161819
ax = _axes[ax_idx]
18171820
plot_title = comp_title

0 commit comments

Comments
 (0)