def PathCollection(mode='agg', *args, **kwargs):
 if (mode == 'raw'):
  return RawPathCollection(*args, **kwargs)
 elif (mode == 'agg+'):
  return AggPathCollection(*args, **kwargs)
 return AggFastPathCollection(*args, **kwargs)

def PathCollection ( mode = 'agg' , * args , ** kwargs ) : if ( mode == 'raw' ) : return RawPathCollection ( * args , ** kwargs ) elif ( mode == 'agg+' ) : return AggPathCollection ( * args , ** kwargs ) return AggFastPathCollection ( * args , ** kwargs )
mode: string - "raw" - "agg" - "agg+" .