pyvista.Plotter.disable_anti_aliasing#

Plotter.disable_anti_aliasing(all_renderers=True)[source]#

Disable anti-aliasing.

Parameters:
all_renderersbool, default: True

If True, applies to all renderers in subplots. If False, then only applies to the active renderer.

Examples

>>> import pyvista
>>> pl = pyvista.Plotter()
>>> pl.disable_anti_aliasing()
>>> _ = pl.add_mesh(pyvista.Sphere(), show_edges=True)
>>> pl.show()
https://d33wubrfki0l68.cloudfront.net/fd3731d0b5cc794ceba5815d993afc3bc8452b72/4f23d/_images/pyvista-plotter-disable_anti_aliasing-1_00_00.png

See Anti-Aliasing for a full example demonstrating VTK’s anti-aliasing approaches.