Closed KestutisMa closed 1 year ago
This looks like a bug here: https://github.com/enthought/mayavi/blob/e360db9b5edec706501cfb40579b71afd8f79abb/tvtk/util/qt_gradient_editor.py#L300-L303
I think it needs direct super-class dispatch rather than using super()
(ie. first dispatch to QWidget.__init__(self, ...)
and then to GradientEditorWidget.__init__(self, ...)
with appropriate args for each) - it seems it was done this way back in the git history of this file, and may have been broken in the Python 2 to Python 3 transition a few years back.
Yes, you were right! I copied init from old version of file and it solved the problem. Thank you for quick reply, have a nice day! p.s. also needed do the same at line 170. I will try to make a pull request.
Wonderful project, but I observed little error while trying to edit properties (click on 'Volume' in pipeline treeview) of 'volume' plot in traits editor, it shows no properties and error in console:
I am using PySide2 as Qt backend and python 3.10.9, Arch Linux Trying to run code:
What could be cause of it?