_VerticalColorbarConfig#

class _VerticalColorbarConfig[source]#

PyVista vertical colorbar configuration.

Adds the settings that only a vertical colorbar has.

Examples#

Download Python source code | Download Jupyter notebook

>>> import pyvista as pv
>>> pv.global_theme.colorbar_vertical.rotate_title = True

Inheritance#

Inherited members are documented on _ColorbarConfig, _ConfigBase.

See them all under Inherited Attributes and Inherited Methods.

Attributes#

_VerticalColorbarConfig.rotate_title

Return or set whether a colorbar turns its title alongside the bar.

Inherited Attributes#

_ColorbarConfig.height

Return or set colorbar height.

_ColorbarConfig.position_x

Return or set colorbar x position.

_ColorbarConfig.position_y

Return or set colorbar y position.

_ColorbarConfig.stacking_gap

Return or set the distance between stacked colorbars.

_ColorbarConfig.title_pad

Return or set the colorbar title padding.

_ColorbarConfig.width

Return or set colorbar width.

Inherited Methods#

_ConfigBase.from_dict

Create an instance from a dictionary of attribute values.

_ConfigBase.to_dict

Return config parameters as a dictionary.