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 as pv
>>> pl = pv.Plotter()
>>> pl.disable_anti_aliasing()
>>> _ = pl.add_mesh(pv.Sphere(), show_edges=True)
>>> pl.show()
https://d33wubrfki0l68.cloudfront.net/c23678ee2e30be4f5c463f549fc5950e1d47c8e4/3b78c/_images/pyvista-plotter-disable_anti_aliasing-1_00_00.png

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