CapabilityRegistry#
- class scikitplot.corpus.CapabilityRegistry(specs=())[source]#
Explicit, side-effect-free registry for component readiness probes.
The registry is intentionally an object rather than hidden global plugin magic. Applications may copy/extend the default registry or construct a fully custom registry for private backends.
- Parameters:
specs (Iterable[CapabilitySpec])
- probe(name, *, selected=False, active=False)[source]#
Probe one capability without loading/downloading heavy assets.
- Parameters:
- Return type:
- register(spec, *, replace=False)[source]#
Register spec; refuse accidental replacement by default.
- Parameters:
spec (CapabilitySpec)
replace (bool)
- Return type:
None