def translate_points(diff, points):
    points[:] = points + diff
    return points
Translate function takes 2 arguments the with which the points
dataset/ETHPy150Open enthought/mayavi/tvtk/tools/visual.py/translate_points