question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MAINT: Drop support for PySurfer + mayavi?

See original GitHub issue

Now that:

  1. Brain / PyVista / PyVistaQt has begun to mature;
  2. PyVista backend has good notebook support;
  3. mayavi has gone even more unmaintained than usual (I have had a PR open for 3 months that fixes some bugs on latest vtk that hasn’t been reviewed yet); and
  4. PySurfer isn’t too actively developed anymore

I propose that it’s time that we drop support for it, as it lowers our maintenance burden: deprecate for 0.24, and in 0.25 remove the mayavi backend. We can leave the set_3d_backend infrastructure in place for future compatibility in case we want to migrate to a different 3D backend in the (probably distant) future.

I figured I’d ping @GuillaumeFavelier and @agramfort first since you’ve primarily been guiding the PyVista efforts. If you’re on board, I’ll ping the rest of the MNE steering committee since I think this is a potentially large enough change to warrant bothering everyone.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:29 (27 by maintainers)

github_iconTop GitHub Comments

3reactions
agramfortcommented, Sep 16, 2021

yes +1

but I’d like to kill this bird with the new coreg GUI so we’re done for good.

2reactions
prabhuramachandrancommented, Oct 17, 2021

@larsoner – thanks for the response. I agree with your analysis. And yes, this is a real problem. A major problem for me is that this has been the status for 20 years, bulk of the work has fallen on me and it has become harder and harder to find time or motivation. That said, I still think that it is a useful project. Another issue for me personally is that I have an almost “Debian stable” mentality and never update my Python environments for fear of breaking stuff so tend to live in my own cocoon – that is the only way I can get my work done at all. What I am going to do going forward is to put in a little time each week on Mayavi maintenance and the first goal is to work with some folks at Enthought to ensure that the CI is working and notifies us of issues. I will take care of the core issues that I seem to be the only one comfortable with and others will help with setting up CI and other things that they are more comfortable managing. Hopefully together this should be better. Anyway, am hoping to do a better job. Thank you @larsoner for all your help these last few years and your patience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tips and Tricks — mayavi 4.8.1 documentation
This backend relies on VTK's off screen support and depending on how your VTK is configured may ... This will stop raising the...
Read more >
Matplotlib-like Subplots in Mayavi? - python - Stack Overflow
I'm trying to use Mayavi for my 3D plotting here, because it solves some other problems I'm having, but I can't seem to...
Read more >
Installing and Getting Started - PySurfer
Consider using the Anaconda distribution or Enthough Canopy environment. The difficulty on these platforms is generally getting Mayavi and VTK installed; see ...
Read more >
surfer.Brain - PySurfer 0.10.0 documentation
These are passed to the underlying mayavi.mlab.pipeline.surface call. ... If there is an existing contour overlay, remove it before plotting. colorbarbool.
Read more >
python3-surfer_0.11.0-3_all.deb Ubuntu 22.04 LTS Download
It extends Mayavi's powerful visualization engine with a high-level interface for ... Drop python2 support; Closes: #937551 * debian/control - update ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found