pyFDN.plot_matrix#
- pyFDN.plot_matrix(A, title=None, zmin=None, zmax=None, *, block_boundaries=None)[source]#
Plot a single matrix as a Plotly heatmap (RdBu, square pixels).
- Parameters:
A (array-like) – 2-D matrix to visualise.
title (str, optional) – Figure title (supports HTML/
<sup>for subtitles).zmin (float, optional) – Color limits. Default
(-1, 1).zmax (float, optional) – Color limits. Default
(-1, 1).block_boundaries (sequence of int, optional) – Indices at which to draw dashed dividing lines on both axes, e.g. to separate the sub-blocks of a coupled feedback matrix. A boundary at index
kis drawn between rows/columnsk-1andk.
- Returns:
Call
.show()to display.- Return type:
go.Figure