Skip to content
Draft
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
6 changes: 0 additions & 6 deletions mne/viz/tests/test_raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,6 @@ def test_plot_raw_selection(raw, browser_backend, monkeypatch):
raw.info["lowpass"] = 10.0 # allow heavy decim during plotting
browser_backend._close_all() # ensure all are closed
assert browser_backend._get_n_figs() == 0
# https://github.com/matplotlib/matplotlib/issues/30575
monkeypatch.setattr(mne.viz.utils, "_BLIT_KWARGS", dict(useblit=False))
monkeypatch.setattr(mne.viz._mpl_figure, "_BLIT_KWARGS", dict(useblit=False))
fig = raw.plot(group_by="selection", proj=False)
assert browser_backend._get_n_figs() == 2
sel_fig = fig.mne.fig_selection
Expand Down Expand Up @@ -500,9 +497,6 @@ def test_orphaned_annot_fig(raw, browser_backend, monkeypatch):
"""Test that annotation window is not orphaned (GH #10454)."""
if browser_backend.name != "matplotlib":
return
# https://github.com/matplotlib/matplotlib/issues/30575
monkeypatch.setattr(mne.viz.utils, "_BLIT_KWARGS", dict(useblit=False))
monkeypatch.setattr(mne.viz._mpl_figure, "_BLIT_KWARGS", dict(useblit=False))
assert browser_backend._get_n_figs() == 0
fig = raw.plot()
_spawn_child_fig(fig, "fig_annotation", browser_backend, "a")
Expand Down
Loading