atlas_protocol_scripts.pl.reshape_clustermap#

atlas_protocol_scripts.pl.reshape_clustermap(cmap, cell_width=0.02, cell_height=0.02)#

Resizes the components of a seaborn clustermap object to match the specified cell widths and heights.

Parameters
  • cmap (ClusterGrid) – The seaborn clustermap object to reshape.

  • cell_width (float (default: 0.02)) – The width of each cell in the heatmap. Default is 0.02.

  • cell_height (float (default: 0.02)) – The height of each cell in the heatmap. Default is 0.02.