trait_defaults
- Widget.trait_defaults(*names: str, **metadata: Any) dict[str, Any] | Sentinel
Return a trait’s default value or a dictionary of them
Notes
Dynamically generated default values may depend on the current state of the object.
Return a trait’s default value or a dictionary of them
Notes
Dynamically generated default values may depend on the current state of the object.