enthought/mayavi

wxPython not supported

jmoraleda opened this issue · 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: #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. matplotlib/matplotlib#26710)