mne.viz.clear_3d_figure#
- mne.viz.clear_3d_figure(figure)[source]#
Remove all actors from the given scene.
The scene itself is kept open, so it can be reused for another plot. This is much cheaper than closing the scene and creating a new one, and it keeps memory usage constant when many scenes are plotted in a loop.
- Parameters:
- figureobject
The scene which needs to be cleared.
See also
Notes
New in v1.13.