enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.3k stars 284 forks source link

module 'mayavi' has no attribute 'points3d' #1064

Open Nikita-Agarwal0509 opened 3 years ago

Nikita-Agarwal0509 commented 3 years ago

I installed mayavi on a remote server using user privileges using command

pip install --user mayavi

My code is

import numpy as np from mayavi import mlab

mlab.points3d(x, y, z, colormap="RdYlBu", scale_factor=0.02,scale_mode='none', mode='2dcross')

However, on running a python code using mayavi, I am getting the error

module 'mlab' has no attribute 'points3d'

Any way out of this?