I have created a custom colormap in mayavi to match the seismic_r colormap from matplotlib. I am able to plot the colorbar, however I am unable to label it. I have tried some suggestions from googling, such as
mesh.module_manager.scalar_lut_manager.show_scalar_bar = True
However it doesn't seem to work.
If needed I could make the problem more reproducible.
import matplotlib.cm as cm
import mayavi.mlab as mlab
mesh.module_manager.scalar_lut_manager.lut.table = seismic