Skip to content

Commit

Permalink
Update unit tests for lasso select
Browse files Browse the repository at this point in the history
  • Loading branch information
wmvanvliet committed Jan 7, 2025
1 parent 871e15a commit bea101d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mne/viz/tests/test_topo.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@ def test_plot_topo_image_epochs():
assert len(qm_cmap) >= 1
assert qm_cmap[0] is cmap

def test_plot_topo_select():
"""Test selecting sensors in an ERP topography plot."""
# Show topography
evoked = _get_epochs().average()
plot_evoked_topo(evoked, select=True)



def test_plot_tfr_topo():
"""Test plotting of TFR data."""
Expand Down
1 change: 1 addition & 0 deletions mne/viz/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
centers_to_edges,
compare_fiff,
concatenate_images,
SelectFromCollection,
)

base_dir = Path(__file__).parents[2] / "io" / "tests" / "data"
Expand Down

0 comments on commit bea101d

Please sign in to comment.