Skip to content

Commit 89072af

Browse files
MAINT: explicitly import mne.viz.utils in jupyterlite cell to prevent lazy_loader AttributeError
1 parent cc8b6e0 commit 89072af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@
487487
"\n"
488488
"# 2. Patch MNEBrowseFigure to auto-display in Pyodide's inline backend\n"
489489
"import mne\n"
490+
"import mne.viz.utils\n"
490491
"import matplotlib.pyplot as plt\n"
491492
"orig_plt_show = mne.viz.utils.plt_show\n"
492493
"def pyodide_plt_show(fig=None, **kwargs):\n"

0 commit comments

Comments
 (0)