def color(columns=None, palette=None, bin=False, **kwargs):
 if (palette is not None):
  kwargs['palette'] = palette
 kwargs['columns'] = columns
 kwargs['bin'] = bin
 return ColorAttr(**kwargs)

def color ( columns = None , palette = None , bin = False , ** kwargs ) : if ( palette is not None ) : kwargs [ 'palette' ] = palette kwargs [ 'columns' ] = columns kwargs [ 'bin' ] = bin return ColorAttr ( ** kwargs )
produces a colorattr specification for coloring groups of data based on columns .