'Replace cell data. This causes a full reformat of the cell.
Args:
data (str): Cell data.
Notes:
The available keyword arguments are the same as for
`EvCell.__init__`.'

def replace_data(self, data, **kwargs):

    self.data = self._split_lines(_to_ansi(data))
    self.raw_width = max((m_len(line) for line in self.data))
    self.raw_height = len(self.data)
    self.reformat(**kwargs)
