Eric Larson
Eric Larson
... looking at https://conda.github.io/menuinst/reference/ I don't see an option for `StartupWMClass` which is what we'd need to set. I'll open in issue over there since maybe we could add a...
Okay, opened https://github.com/conda-forge/mne-feedstock/pull/139, https://github.com/conda/menuinst/pull/265, and https://github.com/mne-tools/mne-python/pull/12900
You need to know the `StartupWMClass` so start Looking Glass (e.g., alt-F2 then `lg`) and inspect the window. For example for `import matplotlib.pyplot as plt; plt.figure()` (which now also has...
> IIUC the wmclass is set at runtime by the mne qt browser package, not by the installer Correct that the installer does not set it. Whatever creates the Qt...
For me `mne browse_raw` does it. Are you using the mne-qt-browser backend or the matplotlib backend? This should also work in plain Python: ``` >>> import mne >>> mne.viz.set_browser_backend("qt") >>>...
> How can I start the Qt app by MNE-Python? What even is "MNE-Python" in this context? For this part it's really this under the hood: ``` import mne mne.viz.backends._utils._init_mne_qtapp()...
Weird, didn't know what the difference would be! But at least now you know how to change the icon if you want to.
I think we're good enough for now here but PRs welcome to improve the situation, or we can reopen if it's still unacceptable
Rather than build this into sphinx-gallery, this seems like something that should first be implemented directly using sphinx hooks. sphinx-gallery uses the [`builder-inited` sphinx event](https://www.sphinx-doc.org/en/master/extdev/event_callbacks.html#core-events-overview): https://github.com/sphinx-gallery/sphinx-gallery/blob/6c4849583c120b76843e7dcffc749e9e56cada2a/sphinx_gallery/gen_gallery.py#L1687 You could hook into...
I still like the lazy loading stuff but can live with the majority decision here. I guess we'll see what problems/harder other decisions come out in #13124 -- one we've...