nmf_models.plotting.correlation_plot

correlation_plot(cor_mat, clustered=False, ax=None)[source]

view matrix correlation

Parameters:
  • cor_mat (array-lile) – correlation matrix to plot

  • clustered (bool) – heatmap or clustermap

  • ax (matplotlib Axes, default None) – matplotlib ax to plot on.

Return type:

matplotlib ax if clustered False and seaborn clustergrid if clustered True