IntHandleEmpty#

class jdaviz.core.custom_traitlets.IntHandleEmpty(*args, **kwargs)[source]#

Bases: HandleEmptyMixin, Int

Mixin to handle empty integer field.

Declare a traitlet.

If allow_none is True, None is a valid value in addition to any values that are normally valid. The default is up to the subclass. For most trait types, the default value for allow_none is False.

If read_only is True, attempts to directly modify a trait attribute raises a TraitError.

If help is a string, it documents the attribute’s purpose.

Extra metadata can be associated with the traitlet using the .tag() convenience method or by using the traitlet instance’s .metadata dictionary.