pyvista.plotting.themes.Theme.anti_aliasing#

property Theme.anti_aliasing: str | None[source]#

Enable or disable anti-aliasing.

Should be either "ssaa", "msaa", "fxaa", or None.

Examples

Use super-sampling anti-aliasing in the global theme.

>>> import pyvista as pv
>>> pv.global_theme.anti_aliasing = 'ssaa'
>>> pv.global_theme.anti_aliasing
'ssaa'

Disable anti-aliasing in the global theme.

>>> import pyvista as pv
>>> pv.global_theme.anti_aliasing = None

See Anti-Aliasing for more information regarding anti-aliasing.