colorbar_horizontal

property ParaViewTheme.colorbar_horizontal: pyvista.themes._ColorbarConfig

Return or set the default parameters of a horizontal colorbar.

Examples

Set the default horizontal colorbar width to 0.6.

>>> import pyvista
>>> pyvista.global_theme.colorbar_horizontal.width = 0.6

Set the default horizontal colorbar height to 0.2.

>>> pyvista.global_theme.colorbar_horizontal.height = 0.2