mayavi icon indicating copy to clipboard operation
mayavi copied to clipboard

wxPython not supported

Open jmoraleda opened this issue 1 year ago • 0 comments

The website mentions support for wxPython. But none of the examples can be made to work.

The fundamental error when trying to add a mayavi control to a wxPython window appears to be:

    sizer.Add(self.control, 0, wx.ALL, 10)
TypeError: Sizer.Add(): arguments did not match any overloaded call:
  overload 1: argument 1 has unexpected type 'QWidget'

Searching in my email I notice I participated in a discussion about this as far back as 2020: https://github.com/enthought/mayavi/issues/726 but that issue appears to have been removed.

Is there any interest in adding back support for wxPython?

If there is, I may be able to help. I am not familiar with mayavi's implementation, but I am a regular contributor to wxPython, and I have helped with the integration between matplotlib and wxPython. (e.g. https://github.com/matplotlib/matplotlib/pull/26710)

jmoraleda avatar Jul 14 '24 18:07 jmoraleda