Contents:
Plot adjacency matrix
adj (DataFrame) – Adjacency matrix
DataFrame
mask (DataFrame | None) – Boolean mask matrix
None
cmap (str | Colormap) – Color map
str
Colormap
row_labels (list[str] | None) – Row labels to show
list
col_labels (list[str] | None) – Column labels to show
cluster (bool) – Whether to cluster rows and columns
bool
cluster_kws (dict | None) – Keyword arguments for linkage(), only relevant if cluster is True
dict
linkage()
ax (Axes | None) – Existing axes object
Axes
**kwargs – Additional arguments are passed to heatmap()
heatmap()
Axes object