Presuming you want the displayed values of the cells to still be their totals, then
will set the colormap to two-tone of black-white for zero-nonzero values. You can change the hue by modifiying the RGB ratio of the ones() array to suit.
The color data are what are in the data cells and scaled against the colormap -- you get the same colors by
but the cell values displayed will only be 0|1. You have to change the colormap scaling to map the colors by faking interpolation such that the breakpoint is between zero and the minumn number of connections.