_ConfigBase.from_dict#
- classmethod _ConfigBase.from_dict(dict_: dict[str, Any]) Self[source]#
Create an instance from a dictionary of attribute values.
- Parameters:
- dict_
dict Mapping of public attribute name to value, as produced by
to_dict(). Nested config objects are recursively reconstructed via their ownfrom_dict. A key that is not a valid attribute ofclsis skipped with a warning instead of raising, so a dict saved by a different pyvista version can still be loaded.
- dict_
- Returns:
SelfNew instance of
clspopulated fromdict_.