def __init__( self, min = None, max = None, default = None, doc = "" ):
      if min is not None:
         doc += "\nThe value must be greater than: %s" % (min,)
      if max is not None:
         doc += "\nThe value must be less than: %s" % (max,)

      validator = cvt.Converter( cvt.toType, int, allowNone=True )

      # These must be defined before calling the base class
      self.min = min
      self.max = max

      StyleProperty.__init__( self, default, validator, doc )

   #-----------------------------------------------------------------------
: Create a new Integer object.
dataset/ETHPy150Open nasa/mplStyle/mplStyle/types/property/Integer.py/Integer.__init__