Debashish Saha wrote:
TypeError: grid_source() takes exactly 3 arguments (4 given)
Is this error not clear enough? The function expects 3 arguments, you have
given it 4. You need to give one fewer.
The only tricky thing to remember is that when you have a method, one argument
is the autom
import numpy
from enthought.mayavi import mlab
#def test_mesh():
#"""A very pretty picture of spherical harmonics translated from
#the octaviz example."""
for r in range (1,5):
print r
pi = numpy.pi
cos = numpy.cos
sin = numpy.sin
dphi, dtheta, dz = pi/250.0, pi/250.0, 0