Dear mayavi: I am trying to install mayavi on my university cluster but after installation and running a test script from mayavi, I am getting the following error.
list index out of range In /state/partition1/anaconda/lib/python2.7/site-packages/mayavi/plugins/envisage_engine.py:92 IndexError: list index out of range (in new_scene) The script I am trying is import numpy as np from mayavi import mlab def V(x, y, z): """ A 3D sinusoidal lattice with a parabolic confinement. """ return np.cos(10*x) + np.cos(10*y) + np.cos(10*z) + 2*(x**2 + y**2 + z**2) X, Y, Z = np.mgrid[-2:2:100j, -2:2:100j, -2:2:100j] V(X, Y, Z) mlab.contour3d(X, Y, Z, V) I am currently using mayavi version 4.4.0 and vtk 5.10.1. Could you let me know what is causing this error? Thank in advance
------------------------------------------------------------------------------
_______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users