def re_run_last_cell(self):
        """Run the previous cell again."""
        text, line = (self.get_current_editor()
                      .get_last_cell_as_executable_code())
        self._run_cell_text(text, line)
Run the previous cell again.