I'm trying to plot a matrix using pytlot in python.
import matplotlib.pyplot as plt
m = [
[1, 0, 2, 0, 0],
[1, 1, 1, 2, 0],
[0, 4, 1, 0, 0],
[0, 4, 4, 1, 2],
[1, 3, 0, 0, 1],
]
plt.imshow(m)
plt.show()
This look like what I need, but the problem is that I need to be able to select the color for a position.
For example:
the position 1x2 has to be red.
anyway to archive this with Python and Pyplot?

(rows, cols, channel)and set each channel to the desired red, green, and blue value. Som[1][2[0] = 2551to be red as well?