hic3defdr.plotting.heatmap module

hic3defdr.plotting.heatmap.plot_heatmap(matrix, cmap='Reds', vmin=0, vmax=100, despine=False, **kwargs)[source]

Plots a simple heatmap of a dense matrix.

Parameters:
  • matrix (np.ndarray) – The dense matrix to visualize.
  • cmap (matplotlib colormap) – The colormap to use for the heatmap.
  • vmax (vmin,) – The vmin and vmax to use for the heatmap colorscale.
  • kwargs (kwargs) – Typical plotter kwargs.
Returns:

The axis plotted on.

Return type:

pyplot axis