def METHOD_NAME(self):
    x0 = 0
    x1 = self.width - 1
    if self.width != 128:
        # narrow displays use centred columns
        col_offset = (128 - self.width) // 2
        x0 += col_offset
        x1 += col_offset
    self.write_cmd(SET_COL_ADDR)
    self.write_cmd(x0)
    self.write_cmd(x1)
    self.write_cmd(SET_PAGE_ADDR)
    self.write_cmd(0)
    self.write_cmd(self.pages - 1)
    self.write_data(self.buffer)