def clustermap(data, pivot_kws=None, method='average', metric='euclidean', z_score=None, standard_scale=None, figsize=None, cbar_kws=None, row_cluster=True, col_cluster=True, row_linkage=None, col_linkage=None, row_colors=None, col_colors=None, mask=None, **kwargs):
 plotter = ClusterGrid(data, pivot_kws=pivot_kws, figsize=figsize, row_colors=row_colors, col_colors=col_colors, z_score=z_score, standard_scale=standard_scale, mask=mask)
 return plotter.plot(metric=metric, method=method, colorbar_kws=cbar_kws, row_cluster=row_cluster, col_cluster=col_cluster, row_linkage=row_linkage, col_linkage=col_linkage, **kwargs)

def clustermap ( data , pivot_kws = None , method = 'average' , metric = 'euclidean' , z_score = None , standard_scale = None , figsize = None , cbar_kws = None , row_cluster = True , col_cluster = True , row_linkage = None , col_linkage = None , row_colors = None , col_colors = None , mask = None , ** kwargs ) : plotter = ClusterGrid ( data , pivot_kws = pivot_kws , figsize = figsize , row_colors = row_colors , col_colors = col_colors , z_score = z_score , standard_scale = standard_scale , mask = mask ) return plotter . plot ( metric = metric , method = method , colorbar_kws = cbar_kws , row_cluster = row_cluster , col_cluster = col_cluster , row_linkage = row_linkage , col_linkage = col_linkage , ** kwargs )
plot a hierarchically clustered heatmap of a pandas dataframe parameters data: pandas .