Display matrix as a heatmap and write each cell's value in the middle of that cell, formatted to one decimal place.
matrix
Cell (i, j) sits at x j and y i in data coordinates. Centre the text both horizontally and vertically. Return the Axes.
(i, j)
j
i
This one's part of Premium. Unlock the full Matplotlib track plus every other premium problem on the site.
solve(...)