pyvista.plotting.themes.Theme.colorbar_orientation#

property Theme.colorbar_orientation: str[source]#

Return or set the default colorbar orientation.

Must be either 'vertical' or 'horizontal'.

Examples

>>> import pyvista as pv
>>> pv.global_theme.colorbar_orientation = 'horizontal'