any existing method to plot array item on grid?

sometimes, we need to plot array value on a grid, for example

a=np.array([[1,3,5], [2,4,6]])

is shown as

···

±-----±-----±-----+

1 | 3 | 5 |

±-----±-----±-----+

2 | 4 | 6 |

±-----±-----±-----+

Is there any ready-to-use method?

thanks