def draw_path_collection(self, master_transform, cliprect, clippath,<EOL>clippath_trans, paths, all_transforms, offsets,<EOL>offsetTrans, facecolors, edgecolors, linewidths,<EOL>linestyles, antialiaseds, urls):
path_ids = []<EOL>for path, transform in self._iter_collection_raw_paths(<EOL>master_transform, paths, all_transforms):<EOL><INDENT>path_ids.append((path, transform))<EOL><DEDENT>for xo, yo, path_id, gc, rgbFace in self._iter_collection(<EOL>path_ids, cliprect, clippath, clippath_trans,<EOL>offsets, offsetTrans, facecolors, edgecolors,<EOL>linewidths, linestyles, antialiaseds, urls):<EOL><INDENT>path, transform = path_id<EOL>transform = transforms.Affine2D(transform.get_matrix()).translate(xo, yo)<EOL>self.draw_path(gc, path, transform, rgbFace)<EOL><DEDENT>
Draws a collection of paths, selecting drawing properties from
the lists *facecolors*, *edgecolors*, *linewidths*,
*linestyles* and *antialiaseds*. *offsets* is a list of
offsets to apply to each of the paths.  The offsets in
*offsets* are first transformed by *offsetTrans* before
being applied.

This provides a fallback implementation of
:meth:`draw_path_collection` that makes multiple calls to
draw_path.  Some backends may want to override this in order
to render each set of path data only once, and then reference
that path multiple times with the different offsets, colors,
styles etc.  The generator methods
:meth:`_iter_collection_raw_paths` and
:meth:`_iter_collection` are provided to help with (and
standardize) the implementation across backends.  It is highly
recommended to use those generators, so that changes to the
behavior of :meth:`draw_path_collection` can be made globally.