def METHOD_NAME(self, data):
    paths = []
    path_cache = {}
    marker = data["marker"]
    def get_transformed_path(m):
        return m.get_path().transformed(m.get_transform())
    if isinstance(marker, mpl.markers.MarkerStyle):
        return get_transformed_path(marker)
    for m in marker:
        if m not in path_cache:
            path_cache[m] = get_transformed_path(m)
        paths.append(path_cache[m])
    return paths