let's assume that I have this dataframe df transfered from a matrix:
1 2 3 4 5 6 7 8
1 1399 17 4 3 0 0 0 0
2 11 374 2 3 1 4 0 1
3 7 0 187 4 0 0 1 1
4 2 3 4 308 0 0 0 3
5 2 0 0 0 280 3 0 1
6 0 2 0 0 2 81 0 3
7 1 0 2 0 2 0 154 4
8 0 0 1 2 1 1 8 552
I would like to plot this as a table in which the higher values are colored darker whereas the smaller values are colored lighter depending on their scalar value. But I am not sure if it is possible. All the plotting techniques seem to not include tables with colors. Any ideas?
Thanks

