valpas.visualization.heatmap.heatmap#
- valpas.visualization.heatmap.heatmap(data, col_labels, row_labels, ax=None, cbar_kw=None, cbarlabel='', **kwargs)#
_summary_
- Parameters:
data (np.ndarray) – Matrix with association values.
col_labels (list) – List of column labels for the plot.
row_labels (list) – List of row labels for the plot.
ax (Axes, default=None) – matplotlib Axes element that should be modified. If omitted the function attempts to extract the Axes element from the most recent plot.
cbar_kw (dict, default=None) – keyword arguments that are passed along to the color bar.
cbarlabel (str, default='') – Name for the colorbar.
kwargs (Any) – Additional keyword arguments that will be passed to matplotlib
- Returns:
Returns an image, and colorbar object.
- Return type:
tuple