def METHOD_NAME(
    X, orientation='bottom', labels=None, method='complete', metric='euclidean', colorscale=None
):
    d = Dendrogram(X, orientation, labels, colorscale, method=method, metric=metric)
    return {'layout': d.layout, 'data': d.data}