pyvista.Plotter.add_on_render_callback#
- Plotter.add_on_render_callback( ) None[source]#
Add a method to be called post-render.
- Parameters:
- callback
callable() The callback method to run post-render. This takes a single argument which is the plotter object.
- render_eventbool, default:
False If
True, associate with all VTK RenderEvents. Otherwise, the callback is only handled on a successfulrender()from the PyVista plotter directly.
- callback