pyvista.plotting.themes.Theme.show_scalar_bar#

property Theme.show_scalar_bar: bool[source]#

Return or set the default color bar visibility.

Examples

Show the scalar bar by default when scalars are available.

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