cf.DomainAxis.has_size

DomainAxis.has_size()[source]

Whether the size has been set.

New in version 1.7.0.

Returns:
bool

True if the size has been set, otherwise False.

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