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

def make_line_collection(self, col):

    xydata = col.get_segments()
    t_xydata = [np.transpose(seg) for seg in xydata]
    xs = [t_xydata[x][0] for x in range(len(t_xydata))]
    ys = [t_xydata[x][1] for x in range(len(t_xydata))]
    if self.xkcd:
        xkcd_xs = [xkcd_line(xs[i], ys[i])[0] for i in range(len(xs))]
        xkcd_ys = [xkcd_line(xs[i], ys[i])[1] for i in range(len(ys))]
        xs = xkcd_xs
        ys = xkcd_ys
    multiline = MultiLine()
    source = ColumnDataSource()
    multiline.xs = source.add(xs)
    multiline.ys = source.add(ys)
    self.multiline_props(source, multiline, col)
    r = self.plot.add_glyph(source, multiline)
    self.zorder[r._id] = col.zorder
    self.handles[id(col)] = r
