pyvista.plotting.themes.Theme.colorbar_horizontal

pyvista.plotting.themes.Theme.colorbar_horizontal#

property Theme.colorbar_horizontal: _ColorbarConfig[source]#

Return or set the default parameters of a horizontal colorbar.

Examples

Set the default horizontal colorbar width to 0.6.

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

Set the default horizontal colorbar height to 0.2.

>>> pv.global_theme.colorbar_horizontal.height = 0.2