def PointCollection(mode='raw', *args, **kwargs):
 if (mode == 'raw'):
  return RawPointCollection(*args, **kwargs)
 return AggPointCollection(*args, **kwargs)

def PointCollection ( mode = 'raw' , * args , ** kwargs ) : if ( mode == 'raw' ) : return RawPointCollection ( * args , ** kwargs ) return AggPointCollection ( * args , ** kwargs )
mode: string - "raw" - "agg" .