cfdm.DomainAxis.set_size

DomainAxis.set_size(size)[source]

Set the size.

New in version (cfdm): 1.7.0

Parameters
value: int

The size.

Returns

None

Examples

>>> d = cfdm.DomainAxis(size=50)
>>> d.has_size()
True
>>> d.get_size()
50
>>> d.set_size(100)
>>> d.get_size()
100
>>> d.del_size()
100
>>> d.has_size()
False
>>> print(d.del_size(None))
None