Could somebody please provide a working colab that would plot some of the source space brain images or any 3D images from the example gallery. I have tried many combinations of pyvista, vtk, myavi, pyqt and pyside and still cannot make it work on a local setup. Thank you in advance
richard
(Richard Höchenberger)
May 6, 2021, 6:09am
2
Hello and welcome to the forum! Are you asking about getting things to work locally, or do you want to get things to work on Google Colab…?
Thank you so much for a quick reply. It would be ideal if I could get it to run on a colab.
richard
(Richard Höchenberger)
May 7, 2021, 10:44am
4
I don’t think Colab is something we currently support, as in, test with & ensure it works.
@GuillaumeFavelier might know more about 3D viz support on this particular platform.
Ok thank you for the quick answer
Indeed, Google Colab is not supported yet. Jupyter Notebook is the best working platform at the moment for this need and Jupyter Lab is still a work in progress.
You can follow the related progress on the following thread on GitHub:
opened 10:56AM - 07 Jan 21 UTC
ENH
VIZ
I open this issue following https://github.com/mne-tools/mne-python/pull/8503#is… suecomment-748859979 to keep track of the missing features or anything that could be improved.
**Feature status**
- [ ] Update to `ipyvtklink` (https://github.com/Kitware/ipyvtklink/pull/30, https://github.com/mne-tools/mne-python/pull/9341)
- [ ] HiDPI rendering of 3D and mpl widget (see https://github.com/mne-tools/mne-python/pull/8708#discussion_r561283667)
- [ ] Screenshot w/time_viewer is off in the vertical direction (https://github.com/mne-tools/mne-python/pull/8708/files/5d34669c5ea051b1c08dfda19cb1ddf0ba727945#diff-a6e2fc2fab82c1377cb29516fc0a7aed813ee4273daad18cf002e7302a331770)
- [x] Button/shortcut for autoplay (https://github.com/mne-tools/mne-python/pull/8741)
- [x] Button/shortcut to take a screenshot (https://github.com/mne-tools/mne-python/pull/8708)
- [x] Button/shortcut to save a movie (https://github.com/mne-tools/mne-python/pull/9190)
- [x] Button/shortcut to display help (https://github.com/mne-tools/mne-python/pull/9123)
- [x] Label time course mode (https://github.com/mne-tools/mne-python/pull/9016)
**Design/UX**
- [ ] big square button (asked in https://github.com/mne-tools/mne-python/pull/8503#issuecomment-749411804)
---
**Known issues**
<details>
<summary><b>Resolved</b></summary>
- [x] [Does not play well with Firefox](https://github.com/mne-tools/mne-python/pull/8503#issuecomment-750940795) (see https://github.com/mne-tools/mne-python/issues/8704#issuecomment-819447117 and https://github.com/mne-tools/mne-python/issues/8704#issuecomment-819458470)
</details>
**JupyterLab**
* matplotlib is not interactive `Javascript Error: IPython is not defined`
* The mesh is translucent
* A VTK window opens on local instance
**Google Colab**
* It is not supported yet (asked in https://github.com/mne-tools/mne-python/pull/8503#issuecomment-751272941, standby in https://github.com/mne-tools/mne-python/issues/8704#issuecomment-756120645)
---
A testing notebook is available on [gist.github.com](https://gist.github.com/GuillaumeFavelier/b470330fa71cfdef4c7be94b966ef49b).