On 02/10/2014 11:48 AM, Jagannathan Tiruvallur Eachambadi wrote:
Yes, that should work. But you need to create at least one visualization module in mayave, e.g. Surface (this can be done also from the command line: mayavi2 -d cylinder.vtk -m Surface), and set the data source to correct field.
Works without any problems.
Good. You might also want to try paraview for interactive work.
As for the original problem - do you use WX widgets for both mayavi and matplotlib? If so, try setting (just guessing) the matplotlib backend to something else, as sfepy might import matplotlib somewhere during postproc.py call.
I changed the matplolib backend to qt4agg according to < http://matplotlib.org/users/customizing.html#customizing-matplotlib>, I get the same error.
Strange. Unfortunately I cannot help you more, as I cannot reproduce the problem.
Regards, r.