def rotate(self, angle, axis, origin = numpy.array([0.0, 0.0, 0.0])):
        p, pi, ax = rotate(axis, angle, origin, self.pos, self.points, numpy.array([0.0, 0.0, 0.0]))
        self.set(pos = p, trait_change_notify = False)
        self.set(points = pi, trait_change_notify = False)
        self.set(axis = ax, trait_change_notify = False)
        self.polydata.points = self.points
        self.polydata.modified()
        self.stripper.update()
        self.tube.update()
        self.actor.mapper.update()
        self.render()
Function takes atleast 2 arguments: axis about which to
dataset/ETHPy150Open enthought/mayavi/tvtk/tools/visual.py/Curve.rotate