Skip to main content
Ctrl+K
PyVista 0.44.dev0 documentation - Home PyVista 0.44.dev0 documentation - Home
  • Getting Started
  • User Guide
  • Examples
  • API Reference
  • Extras
  • GitHub
  • Slack Community
  • Support
  • Contributing
  • The Paper
  • Getting Started
  • User Guide
  • Examples
  • API Reference
  • Extras
  • GitHub
  • Slack Community
  • Support
  • Contributing
  • The Paper

Section Navigation

API Reference

  • Core API
  • Plotting
    • Plotting
    • PyVista and PyQt
    • Themes
      • pyvista.plotting.themes.DarkTheme
      • pyvista.plotting.themes.Theme
      • pyvista.plotting.themes.DocumentTheme
      • pyvista.plotting.themes.ParaViewTheme
      • pyvista.plotting.themes._AxesConfig
      • pyvista.plotting.themes._CameraConfig
      • pyvista.plotting.themes._ColorbarConfig
        • pyvista.plotting.themes._ColorbarConfig.height
        • pyvista.plotting.themes._ColorbarConfig.position_x
        • pyvista.plotting.themes._ColorbarConfig.position_y
        • pyvista.plotting.themes._ColorbarConfig.width
      • pyvista.plotting.themes._DepthPeelingConfig
      • pyvista.plotting.themes._Font
      • pyvista.plotting.themes._LightingConfig
      • pyvista.plotting.themes._SilhouetteConfig
      • pyvista.plotting.themes._SliderConfig
      • pyvista.plotting.themes._SliderStyleConfig
      • pyvista.plotting.themes._TrameConfig
    • Trame
    • pyvista.Actor
    • pyvista.Axes
    • pyvista.AxesActor
    • pyvista.CameraPosition
    • pyvista.CornerAnnotation
    • pyvista.CubeAxesActor
    • pyvista.DataSetMapper
    • pyvista.LookupTable
    • pyvista.Plotter
    • pyvista.Prop3D
    • pyvista.Property
    • pyvista.Renderer
    • pyvista.RenderWindowInteractor
    • pyvista.Text
    • pyvista.TextProperty
    • pyvista.Timer
    • pyvista.plotting.mapper._BaseMapper
    • pyvista.plotting.opts.InterpolationType
    • pyvista.plotting.opts.RepresentationType
    • pyvista.plotting.opts.ElementType
    • pyvista.plotting.volume.Volume
    • pyvista.plotting.volume_property.VolumeProperty
    • pyvista.CompositePolyDataMapper
    • pyvista.CompositeAttributes
    • pyvista.BlockAttributes
    • Charts
    • pyvista.plotting.widgets.WidgetHelper
    • pyvista.plotting.widgets.AffineWidget3D
    • pyvista.plotting.picking.PickingHelper
    • Convenience Functions
  • Utilities
  • Readers
  • Examples
  • API Reference
  • Themes
  • pyvista.plot...

pyvista.plotting.themes._ColorbarConfig#

class _ColorbarConfig[source]#

PyVista colorbar configuration.

Examples

Set the colorbar width.

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

Methods

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.width

Return or set colorbar width.

On this page
  • _ColorbarConfig
Edit on GitHub

© Copyright 2017-2024, The PyVista Developers.

Built with the PyData Sphinx Theme 0.15.2.