Clear the output of the cell receiving output.
(self, wait=False)
| 116 | print(data['text/plain']) |
| 117 | |
| 118 | def clear_output(self, wait=False): |
| 119 | """Clear the output of the cell receiving output.""" |
| 120 | print('\033[2K\r', end='') |
| 121 | sys.stdout.flush() |
| 122 | print('\033[2K\r', end='') |
| 123 | sys.stderr.flush() |
| 124 | |
| 125 | |
| 126 | class CapturingDisplayPublisher(DisplayPublisher): |
no test coverage detected