mayavi volume animation not updating
问题 I’m trying to animate a Mayavi pipeline volume: src = mlab.pipeline.volume(mlab.pipeline.scalar_field(data),vmin=.1*np.max(data),vmax=.2*np.max(data)) that is combined in the pipeline by another dataset represented as a cut plane. However, I can’t get the volume visualization to update - only the first frame shows up. The animation is stepping through the data correctly (I get different values of the np.max(data[t]) below) but nothing in the visualization changes. My understanding is that