pyvista.plotting.themes.Theme.colorbar_vertical#

property Theme.colorbar_vertical: _ColorbarConfig[source]#

Return or set the default parameters of a vertical colorbar.

Examples

Set the default colorbar width to 0.45.

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

Set the default colorbar height to 0.8.

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