(self)
return len(self.default_palette)
Number of values in palette.
Number of values in palette.
Number of values in palette .
def num_palette(self):
        """Number of values in palette."""
        return len(self.default_palette)
def num_palette ( self ) : return len ( self . default_palette )