Clear the output of the cell receiving output.
(self, wait=False)
| 174 | return self._is_publishing |
| 175 | |
| 176 | def clear_output(self, wait=False): |
| 177 | """Clear the output of the cell receiving output.""" |
| 178 | print("\033[2K\r", end="") |
| 179 | sys.stdout.flush() |
| 180 | print("\033[2K\r", end="") |
| 181 | sys.stderr.flush() |
| 182 | |
| 183 | |
| 184 | class CapturingDisplayPublisher(DisplayPublisher): |
no test coverage detected