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 (ArrayLike) – 2-D matrix to visualise.

  • title (str | None) – Figure title (supports HTML/<sup> for subtitles).

  • zmin (float | None) – Color limits. Default (-1, 1).

  • zmax (float | None) – Color limits. Default (-1, 1).

  • block_boundaries (Sequence[int] | None) – 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 k is drawn between rows/columns k-1 and k.

Returns:

Call .show() to display.

Return type:

Any