pyvista.core.utilities.VtkErrorCatcher#
- class VtkErrorCatcher(raise_errors=False, send_to_logging=True)[source]#
Context manager to temporarily catch VTK errors.
- Parameters:
Examples
Catch VTK errors using the context manager.
>>> import pyvista >>> with pyvista.VtkErrorCatcher() as error_catcher: ... sphere = pyvista.Sphere() ...
Methods