Hello @PauloKanda, this doesnāt answer your question (sorry), but: the PyQt5 Matplotlib backend seems to work best for our interactive figures, and we recommend using it if possible.
Thank you for the suggestion. Unfortunately IĀ“ve already written 6622 lines of code in tkinter (to this specific app). Consequently, I will be waiting for the light of a lighthouse to guide me.
best regards
Hello, itās only now that Iām realizing you asked about plot_alignment and not (as I read) plot_sensors I donāt think thereās a way to do what youāre trying to achieve, then, and I donāt think there will be in the foreseeable future. @GuillaumeFavelier, WDYT?
This is just a small issue, no problem at all. Iām learning a lot with mne. Thanks for your kindness and for sharing your amazing tool.
best
Paulo Kanda
MNE-Python currently works with two 3D backends: mayavi and pyvista. pyvista uses Qt for its GUI / window management. Mayavi uses vtk, though it has a guide for integrating it into other interactive apps (see here). If you really need this, your best bet is probably to tell MNE-Python to use the mayavi backend (mne.viz.set_3d_backend('mayavi')), and then work through Mayaviās integration guide linked above. I donāt know if it will work with tkinter; they only give examples for wxpython and Qt.