Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Feb 29, 2024
1 parent 91fa2f1 commit c6d7218
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions mne/viz/tests/test_topo.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,16 +317,12 @@ def test_plot_tfr_topo():
nave=nave,
)
plt.close("all")
fig = tfr.plot_topo(
baseline=(None, 0), mode="ratio", title="Average power", vmin=0.0, vmax=14.0
)
fig = tfr.plot_topo(baseline=(None, 0), mode="ratio", vmin=0.0, vmax=14.0)

# test complex
tfr.data = tfr.data * (1 + 1j)
plt.close("all")
fig = tfr.plot_topo(
baseline=(None, 0), mode="ratio", title="Average power", vmin=0.0, vmax=14.0
)
fig = tfr.plot_topo(baseline=(None, 0), mode="ratio", vmin=0.0, vmax=14.0)

# test opening tfr by clicking
num_figures_before = len(plt.get_fignums())
Expand Down

0 comments on commit c6d7218

Please sign in to comment.