Dataset Accessors#
PyVista exposes a pandas/xarray-style accessor mechanism so that
third-party packages can add namespaced filter methods to dataset
classes without monkey-patching or subclassing. Once a plugin module
is imported, its accessor becomes available on every instance of the
target class as dataset.<namespace>.<method>(...) and chains
seamlessly with built-in PyVista filters.
See Extending PyVista for a full guide with a worked example and guidance on typing and autocomplete.
|
Register a custom namespaced accessor on a PyVista dataset class. |
|
Remove an accessor previously attached to a target class. |
Return every accessor currently registered. |
|
|
Describe one registered dataset accessor. |
|
Structural protocol for third-party accessor classes. |