cf.DomainAxis.del_size

DomainAxis.del_size(default=ValueError())[source]

Remove the size.

New in version 1.7.0.

Parameters:
default: optional

Return the value of the default parameter if the size has not been set. If set to an Exception instance then it will be raised instead.

Returns:

The removed size.

Examples:

>>> d.set_size(96)
>>> d.has_size()
True
>>> d.get_size()
96
>>> d.del_size()
96
>>> d.has_size()
False
>>> print(d.del_size(None))
None
>>> print(d.get_size(None))
None