show_scalar_bar

property DefaultTheme.show_scalar_bar: bool

Return or set the default color bar visibility.

Examples

Show the scalar bar by default when scalars are available.

>>> import pyvista
>>> pyvista.global_theme.show_scalar_bar = True