def set_bit_map(self, shape, color):
for row in range(<NUM_LIT:0>, <NUM_LIT:8>):<EOL><INDENT>data = shape[row]<EOL>bit_mask = <NUM_LIT><EOL>for column in range(<NUM_LIT:0>, <NUM_LIT:8>):<EOL><INDENT>if data & bit_mask:<EOL><INDENT>self.set_pixel(row, column, color, True)<EOL><DEDENT>bit_mask >>= <NUM_LIT:1><EOL><DEDENT><DEDENT>self.output_entire_buffer()<EOL>
Populate the bit map with the supplied "shape" and color
and then write the entire bitmap to the display
@param shape: pattern to display
@param color: color for the pattern