ENH: Notebook 3d backend improvements (ipyvtklink)
See original GitHub issueI open this issue following https://github.com/mne-tools/mne-python/pull/8503#issuecomment-748859979 to keep track of the missing features or anything that could be improved.
Feature status
- Test integration with Google Colab following https://github.com/mne-tools/mne-python/issues/8080#issuecomment-911720213
- 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)
- Update to
ipyvtklink(https://github.com/Kitware/ipyvtklink/pull/30, https://github.com/mne-tools/mne-python/pull/9341) - Button/shortcut for autoplay (https://github.com/mne-tools/mne-python/pull/8741)
- Button/shortcut to take a screenshot (https://github.com/mne-tools/mne-python/pull/8708)
- Button/shortcut to save a movie (https://github.com/mne-tools/mne-python/pull/9190)
- Button/shortcut to display help (https://github.com/mne-tools/mne-python/pull/9123)
- 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
Resolved
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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Source space brain image, 3D image plotting - Support ...
Could somebody please provide a working colab that would plot some of the source space brain images or any 3D images from the...
Read more >Advanced setup — MNE 1.3.dev0 documentation - MNE-Python
The notebook 3d backend requires PyVista to be installed along with other packages, please follow Install via pip or conda. Installing to a ......
Read more >ipyvtklink - PyPI
You may have to build jupyter lab extensions for this to work in Lab. This is known to work well in Notebook. PyVista....
Read more >ENH: Notebook 3d backend improvements (ipyvtklink) issue ...
ENH : Notebook 3d backend improvements (ipyvtklink) ... to keep track of the missing features or anything that could be improved. Feature status....
Read more >Jupyter Notebook Plotting — PyVista 0.37.0 documentation
Jupyter Notebook 3D Modules. Jupyterlab 3. Rendering Location. Backend. Requires Framebuffer. panel. Yes. Client. vtk.js. Yes. pythreejs.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

this would be a game changer !
Message ID: @.***>
For movie and autoplay I think you basically need a timer, e.g. https://stackoverflow.com/questions/57255394/jupyter-and-timer-functions
For a screenshot it seems like it should be fairly easy since the ipyvtk_simple is sending bitmaps, and/or we should be able to get the
Rendererdirectly and get the image from itFor label time course do you need more than https://ipywidgets.readthedocs.io/en/latest/examples/Widget List.html#Dropdown ?
For sizing I think it’s https://ipywidgets.readthedocs.io/en/latest/examples/Widget Styling.html