From 0de14ff0f73190403bfd31c7f564fb62ea05d76c Mon Sep 17 00:00:00 2001 From: Muhammad Hafiz Date: Tue, 22 Oct 2019 02:46:56 +0800 Subject: [PATCH] Update halo.py to fix issue #59 Output gets hidden on stop_and_persist in Jupyter notebooks - added output to self.output.outputs instead of reassignment to persist output when cell finishes running. --- halo/halo_notebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halo/halo_notebook.py b/halo/halo_notebook.py index c2e30a4..7c62082 100644 --- a/halo/halo_notebook.py +++ b/halo/halo_notebook.py @@ -38,7 +38,7 @@ def clear(self): self.output.outputs += self._output('\r') self.output.outputs += self._output(self.CLEAR_LINE) - self.output.outputs = self._output() + self.output.outputs += self._output() return self def _render_frame(self):