def __init__(self, patches, match_original=False, **kwargs):
if match_original:<EOL><INDENT>def determine_facecolor(patch):<EOL><INDENT>if patch.fill:<EOL><INDENT>return patch.get_facecolor()<EOL><DEDENT>return [<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>]<EOL><DEDENT>facecolors = [determine_facecolor(p) for p in patches]<EOL>edgecolors = [p.get_edgecolor() for p in patches]<EOL>linewidths = [p.get_linewidths() for p in patches]<EOL>antialiaseds = [p.get_antialiased() for p in patches]<EOL>Collection.__init__(<EOL>self,<EOL>edgecolors=edgecolors,<EOL>facecolors=facecolors,<EOL>linewidths=linewidths,<EOL>linestyles='<STR_LIT>',<EOL>antialiaseds=antialiaseds)<EOL><DEDENT>else:<EOL><INDENT>Collection.__init__(self, **kwargs)<EOL><DEDENT>paths = [p.get_transform().transform_path(p.get_path())<EOL>for p in patches]<EOL>self._paths = paths<EOL>
*patches*
    a sequence of Patch objects.  This list may include
    a heterogeneous assortment of different patch types.

*match_original*
    If True, use the colors and linewidths of the original
    patches.  If False, new colors may be assigned by
    providing the standard collection arguments, facecolor,
    edgecolor, linewidths, norm or cmap.

If any of *edgecolors*, *facecolors*, *linewidths*,
*antialiaseds* are None, they default to their
:data:`matplotlib.rcParams` patch setting, in sequence form.

The use of :class:`~matplotlib.cm.ScalarMappable` is optional.
If the :class:`~matplotlib.cm.ScalarMappable` matrix _A is not
None (ie a call to set_array has been made), at draw time a
call to scalar mappable will be made to set the face colors.