colorbar_vertical

property DefaultTheme.colorbar_vertical: pyvista.themes._ColorbarConfig

Return or set the default parameters of a vertical colorbar.

Examples

Set the default colorbar width to 0.45.

>>> import pyvista
>>> pyvista.global_theme.colorbar_vertical.width = 0.45

Set the default colorbar height to 0.8.

>>> import pyvista
>>> pyvista.global_theme.colorbar_vertical.height = 0.8