def bokeh_barbs(mpl_barb):
    """Convert matplotlib.quiver.Barbs to bokeh multiline/patches data"""
    xo, yo = mpl_barb.get_offsets().T
    paths = mpl_barb.get_paths()
    xs, ys = [], []
    for path in paths:
        x, y = path.vertices.T
        xs.append(x)
        ys.append(y)
    return xo, yo, xs, ys