ThemeRegistration#
- namedtuple ThemeRegistration( )[source]#
Describe how a theme name became registered.
Returned by
registered_themes().kinddistinguishes the registration path: aThemesubclass with a class-level_default_name('subclass'), apyvista.themesentry point from an installed plugin ('entry_point'), or a built-in legacy alias such as'default'or'vtk'('alias').- Attributes:
Examples
Inspect how a name became registered.
>>> import pyvista as pv >>> next(r for r in pv.registered_themes() if r.name == 'dark') ThemeRegistration(name='dark', kind='subclass', source='pyvista.plotting.themes.DarkTheme')