pyvista.Plotter.disable_anti_aliasing

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()
../../../_images/pyvista-Plotter-disable_anti_aliasing-1_00_00.png

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