pyvista.plotting.themes.Theme.multi_samples#
- property Theme.multi_samples: int[source]#
Return or set the default
multi_samples
parameter.Set the number of multisamples to used with hardware anti_aliasing. This is only used when
anti_aliasing
is set to"msaa"
.Examples
Set the default number of multisamples to 2 and enable
"msaa"
>>> import pyvista as pv >>> pv.global_theme.anti_aliasing = 'msaa' >>> pv.global_theme.multi_samples = 2