def projection_factory(projection, figure, rect, **kwargs):
 return get_projection_class(projection)(figure, rect, **kwargs)

def projection_factory ( projection , figure , rect , ** kwargs ) : return get_projection_class ( projection ) ( figure , rect , ** kwargs )
get a new projection instance .