'Given a mpl collection instance create a Bokeh Patches glyph.'

def make_poly_collection(self, col):

    xs = []
    ys = []
    for path in col.get_paths():
        for sub_poly in path.to_polygons():
            (xx, yy) = sub_poly.transpose()
            xs.append(xx)
            ys.append(yy)
    patches = Patches()
    source = ColumnDataSource()
    patches.xs = source.add(xs)
    patches.ys = source.add(ys)
    self.patches_props(source, patches, col)
    r = self.plot.add_glyph(source, patches)
    self.zorder[r._id] = col.zorder
    self.handles[id(col)] = r
