How to add a module to a contour3d scene in MayaVi
===

I'm using MayaVi to create a 3D contour map of some data.  I use the mlab.contour3d function to create a scene of colourful contours.  I'm interested in adding to the scene a ScalarCutPlane module.  I'm able to do this from the MayaVi window by opening the pipeline and manually clicking 'Add Module', etc.

Does anyone know a way to create the ScalarCutPlane straight from my Python code?  I've fiddled around with mlab.pipeline.scalar_cut_plane, but I can't seem to make it work.  I find the instructions given by MayaVi to be incomplete.

Some info on my data: I have three 3D positional arrays of the same shape, X, Y, and Z, created using np.mgrid.  I then have a scalar array, Intensity, that gives a value for each grid point.  I launch my scene as follows.

    mlab.contour3d(X,Y,Z,Intensity, contours = ListOfContours, opacity = 0.5, ...)
    mlab.outline()

I'd like to be able to do something like one of the following.

    mlab.pipeline.scalar_cut_plane(X,Y,Z,Intensity)
    #or
    mlab.pipeline.scalar_cut_plane()

But neither of these work.  How should I be going about this?