Skip to content

Conversation

@larsoner
Copy link
Member

@larsoner larsoner commented Nov 3, 2021

Starting post-release deprecations with the biggest one, separate from the others: mayavi. I got rid of all instances of pysurfer and mayavi from our code except the ones that are comments about copying/adapting code.

cc @GuillaumeFavelier we need a public equivalent to mayavi.core.api.Scene for whatever we currently return for create_3d_figure that users can pass around to 3D functions as fig=fig etc. Can you work on this separately? Then we can git grep PyVista renderer after this PR and know all the places we need to put in a reference that links properly.

This was referenced Nov 3, 2021

Coregistration / 3D viewer
^^^^^^^^^^^^^^^^^^^^^^^^^^
:ref:`mne coreg` is an excellent tool for coregistration, but is limited
by being tied to Mayavi, Traits, and TraitsUI. We should first refactor in
several (mostly) separable steps:

1. Refactor code to use traitlets
2. GUI elements to use PyQt5 (rather than TraitsUI/pyface)
3. 3D plotting to use our abstracted 3D viz functions rather than Mayavi
4. Refactor distance/fitting classes to public ones to enable the example
from :gh:`6693`.

Once this is done, we can effectively switch to a PyVista backend.

.. _documentation-updates:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats @GuillaumeFavelier for taking care of a roadmap item !!!

@agramfort
Copy link
Member

🍾 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants