How to rotate a mesh in FEniCs?

I would like to know how to rotate a mesh in FEniCS, according to Documentation Doflin, MeshTransformation_rotate, it should be like: rotate(mesh, angle, axis, point), but I did not succeed, do you have any idea or are there any examples I can learn from?

Thanks in advance.

See for instance: Bitbucket

Thanks! It’s very useful.