ComponentRegistration

ComponentRegistration#

class ComponentRegistration(name: str, target: type, component: type, source: str)[source]#

Describe one registered plotter component.

Returned by registered_plotter_components().

Added in version 0.48.0.

Attributes:
namestr

The namespace the component is attached under (for example 'scalar_bars').

targettype

The PyVista plotter class (or base class) the component is registered against.

componenttype

The component class itself.

sourcestr

Human-readable origin in the form 'module.qualname' for explicit registrations, or the entry-point value for plugin- discovered ones—useful for debugging which plugin registered a given component.

Attributes#

ComponentRegistration.component

Alias for field number 2

ComponentRegistration.name

Alias for field number 0

ComponentRegistration.source

Alias for field number 3

ComponentRegistration.target

Alias for field number 1