cf.Domain.remove_transform

Domain.remove_transform(key)[source]

Remove a transform from the domain in place, preserving internal consistency.

The transform is also de-referenced from coordinates using it is as metadata, regardless of whether or not the transform itself exists.

Parameters :
key : str

The domain identifier of the transform to be removed.

Returns :
out : cf.Transform or None

The removed transform, or None if it didn’t exist.

Examples

>>> d.remove_transform('trans0')

Previous topic

cf.Domain.remove_dimension

Next topic

cf.Domain.setdefault

This Page